home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / pcboard / kspmts33.zip / KSP-MAIL.DOC < prev    next >
Text File  |  1996-10-02  |  127KB  |  3,425 lines

  1.  
  2.  
  3.         
  4.  
  5.  
  6.                                   KSP-Mail (tm)
  7.  
  8.  
  9.  
  10.           Multi-Threaded Software for ESMTP Mail and NNTP (Usenet) News
  11.  
  12.                                        on
  13.  
  14.                              Bulletin Board Systems
  15.  
  16.  
  17.  
  18.  
  19.                                    Version 3.3
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.                               Copyright (C) 1995-96
  31.                                All Rights Reserved
  32.  
  33.  
  34.                                        by
  35.  
  36.  
  37.                               KEY SOFTWARE PRODUCTS
  38.  
  39.                                 40 Atherton Court
  40.                          Redwood City, California 94061
  41.                               BBS/FAX: 415-364-9847
  42.  
  43.  
  44.  
  45.                 KSP-Mail is a trademark of Key Software Products.
  46.                      WATTCP is a trademark of Erick Engelke.
  47.         Power C, Multi-C, and C/Database are trademarks of Mix Software.
  48.                    Lantastic is a trademark of Artisoft, Inc.
  49.                       Novell is a trademark of Novell Corp.
  50.                    Banyan Vines is a trademark of Banyan Inc.
  51.              DESQview is a trademark of Quarterdeck Office Systems.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.         
  59.  
  60.  
  61.                                 TABLE OF CONTENTS
  62.  
  63.  
  64.  
  65.         CHAPTER 1 - INTRODUCTION        ...........................    1
  66.            1.1  Why is KSP-Mail Better than UUCP?   ...............    1
  67.            1.2  Mail and News Service Overview    .................    2
  68.               1.2.1  The "Mail-In" Server Process(es)     .........    3
  69.               1.2.2  The "Mail-Out" Client Process     ............    4
  70.               1.2.3  The "News-In" Process (and Import Methods)   .    5
  71.               1.2.4  The "News-Out" Client Process     ............    7
  72.               1.2.5  The MS/DOS "Command" Process     .............    8
  73.               1.2.6  The "Set-Clock" Client Process     ...........   10
  74.            1.3  Hardware Requirements       .......................   10
  75.            1.4  Software Requirements       .......................   11
  76.            1.5  Running under OS/2      ...........................   11
  77.            1.6  Network Resources You'll Need     .................   11
  78.            1.7  GMT Time and the TZ Environment Variable  .........   12
  79.            1.8  Other KSP Software      ...........................   13
  80.               1.8.1  KSP Telnet       .............................   13
  81.               1.8.2  KSP FTP       ................................   13
  82.               1.8.3  KSP SLIP       ...............................   13
  83.               1.8.4  KSP HOST       ...............................   13
  84.               1.8.5  So Many CD's      ............................   14
  85.  
  86.         CHAPTER 2 - INSTALLING THE NETWORK CONNECTION FIRST    ....   15
  87.            2.1  Packet Driver Shim for Novell    ..................   15
  88.            2.2  Packet Driver Shim for Novell w/Token-Ring SNAP  ..   16
  89.            2.3  Packet Driver Shim for Lantastic    ...............   16
  90.               2.3.1  Changes to CONFIG.SYS      ...................   16
  91.               2.3.2  Changes to PROTOCOL.INI      .................   17
  92.            2.4  Packet Driver Shim for Banyan Vines   .............   18
  93.  
  94.         CHAPTER 3 - THE WATTCP CONFIGURATION FILE     .............   19
  95.            3.1  Network Parameters       ..........................   20
  96.               3.1.1  The PC's Host Name     .......................   20
  97.               3.1.2  The PC's Domain Name     .....................   20
  98.               3.1.3  The PC's IP Address     ......................   20
  99.               3.1.4  The Name Server's IP Address    ..............   21
  100.               3.1.5  The Router's IP Address     ..................   21
  101.               3.1.6  The PC's Network Mask     ....................   21
  102.            3.2  TCP/IP Parameters (optional)      .................   22
  103.               3.2.1  Maximum Segment Size (MSS)     ...............   22
  104.            3.3  KSP-Mail Parameter Format      ....................   22
  105.            3.4  Enabling and Disabling Processes     ..............   22
  106.            3.5  Required KSP-Mail Parameters      .................   23
  107.            3.6  ESMTP (Mail) Parameters      ......................   24
  108.               3.6.1  The Remote Mail Server(s)     ................   24
  109.               3.6.2  The UUCP Mail Spool Directory    .............   24
  110.               3.6.3  Removing the UUCP "From" Line    .............   25
  111.               3.6.4  Customizing the ESMTP Server's Greeting    ...   25
  112.               3.6.5  Mail Forwarding       ........................   25
  113.  
  114.  
  115.  
  116.         
  117.  
  118.  
  119.                                 TABLE OF CONTENTS
  120.  
  121.  
  122.               3.6.6  Limiting Inbound Message Size     ............   26
  123.               3.6.7  Sitename alias       .........................   26
  124.            3.7  ESMTP (Mail) Mailbox Verification     .............   26
  125.               3.7.1  The KSP-VRFY.EXE Verification Program     ....   28
  126.               3.7.2  The PCB-VRFY.EXE Verification Program     ....   29
  127.               3.7.3  Specifying Mailboxes to Verify (RCPT)    .....   29
  128.               3.7.4  Specifying the Verification Program     ......   29
  129.               3.7.5  Mailing List Expansion (EXPN)     ............   29
  130.            3.8  NNTP (News) Parameters      .......................   30
  131.               3.8.1  The Remote News Server(s)     ................   30
  132.               3.8.2  The UUCP News Spool Directory    .............   31
  133.               3.8.3  News Import Scheduling      ..................   31
  134.               3.8.4  Specifying Newsgroups (and Import Method)    .   31
  135.               3.8.5  Limiting Size of the POSTED.IDX File   .......   33
  136.               3.8.6  Specifying Timeout for NEWNEWS Command    ....   33
  137.               3.8.7  Preventing Feedback       ....................   34
  138.               3.8.8  UUCP News File Format     ....................   34
  139.               3.8.9  Limiting Inbound Article Size     ............   34
  140.            3.9  Command Process Parameters      ...................   35
  141.               3.9.1  Memory Swapping       ........................   35
  142.               3.9.2  Exporting Mail: The UUCP Command Line   ......   35
  143.               3.9.3  Exporting Mail: Scheduling the Command    ....   36
  144.               3.9.4  Exporting Mail: Expediting the Command    ....   36
  145.               3.9.5  Importing Mail: The UUCP Command Line   ......   37
  146.               3.9.6  Importing Mail: Scheduling the Command    ....   37
  147.               3.9.7  Importing Mail: Expediting the Command    ....   37
  148.               3.9.8  Exporting News: The UUCP Command Line   ......   38
  149.               3.9.9  Exporting News: Scheduling the Command    ....   38
  150.               3.9.10  Importing News: The UUCP Command Line   .....   38
  151.               3.9.11  Importing News: Expediting the Command    ...   39
  152.            3.10  Set-Clock Parameters       .......................   39
  153.               3.10.1  The Remote Time Server(s)     ...............   39
  154.               3.10.2  How Often the Clock is Set   ................   39
  155.            3.11  Other Parameters       ...........................   40
  156.               3.11.1  Server Timeout       ........................   40
  157.               3.11.2  Client Timeout       ........................   40
  158.               3.11.3  Close Timeout       .........................   40
  159.               3.11.4  Retrieving Hostnames       ..................   41
  160.               3.11.5  Checking for Outbound Mail and News   .......   41
  161.               3.11.6  Triggering an Exit      .....................   41
  162.               3.11.7  Retry After Server Timeout     ..............   42
  163.               3.11.8  Avoiding File Sharing Violations     ........   42
  164.               3.11.9  Sequence Naming of UUCP Files    ............   42
  165.               3.11.10  Silencing the Console Bell     .............   43
  166.               3.11.11  The Log File Directory     .................   43
  167.               3.11.12  Controlling Information Overload      ......   43
  168.               3.11.13  Limiting Growth of Log Files    ............   43
  169.               3.11.14  Disabling Logging       ....................   44
  170.               3.11.15  Monitoring Program Condition      ..........   44
  171.  
  172.  
  173.  
  174.         
  175.  
  176.  
  177.                                 TABLE OF CONTENTS
  178.  
  179.  
  180.               3.11.16  Controlling the Screen Saver     ...........   45
  181.               3.11.17  The "OK" file      .........................   45
  182.  
  183.         CHAPTER 4 - THE USER INTERFACE      .......................   46
  184.            4.1  The "Hot-Keys"       ..............................   46
  185.            4.2  The Spinner       .................................   46
  186.  
  187.         CHAPTER 5 - REMOTE SYSTEM MANAGEMENT      .................   48
  188.            5.1  The HELP Command      .............................   48
  189.            5.2  The LIST Command      .............................   49
  190.            5.3  The PROCESS Command      ..........................   49
  191.            5.4  The QUIT Command      .............................   49
  192.            5.5  The STATS Command      ............................   50
  193.            5.6  The VALUE Command      ............................   50
  194.  
  195.         CHAPTER 6 - INSTALLING YOUR ACCESS KEY     ................   51
  196.  
  197.         APPENDIX 1 - TEMPORARY FILES CREATED BY KSP-MAIL    .......   52
  198.  
  199.         APPENDIX 2 - HOW TO REACH US     ..........................   53
  200.  
  201.         APPENDIX 3 - GETTING UPDATES VIA THE INTERNET    ..........   54
  202.  
  203.         APPENDIX 4 - LEGAL STUFF       ............................   55
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.         
  233.  
  234.  
  235.  
  236.         Oct 02, 1996           KSP-Mail (tm) v3.3                       1
  237.  
  238.  
  239.                         CHAPTER 1 - INTRODUCTION        
  240.  
  241.  
  242.         For  years,  the  defacto  method  to  provide  Internet mail and
  243.         Usenet  news  on  a  BBS  was via a dial-up UUCP connection.  The
  244.         recent  public demand for Internet access has motivated many BBSs
  245.         to  look  beyond  mail and news; many now also offer telnet, ftp,
  246.         and  other  Internet  services.   This  kind of access requires a
  247.         TCP/IP  connection,  and  so  now  many  BBSs  actually  have two
  248.         connections  to  the  Internet  -  a UUCP connection for mail and
  249.         news, and a TCP/IP connection for everything else.  
  250.  
  251.         You  may  have wondered if both connections are really necessary.
  252.         They  aren't!  With the introduction of KSP-Mail, now you can get
  253.         rid  of your UUCP connection!  KSP-Mail uses the TCP/IP protocols
  254.         called  ESMTP  (Extended  Simple Mail Transfer Protocol) and NNTP
  255.         (Network  News  Transfer  Protocol)  to  transfer mail and Usenet
  256.         news over the Internet.  
  257.  
  258.  
  259.         1.1 Why is KSP-Mail Better than UUCP?    
  260.  
  261.         With KSP-Mail, you get all of the following advantages: 
  262.  
  263.              1.  You'll  save  those  monthly fees you're paying now
  264.                  for  UUCP  access!  Most  people  will  be  able to
  265.                  recover the cost of KSP-Mail within three months! 
  266.  
  267.              2.  You'll  enjoy the faster transfer rates that TCP/IP
  268.                  normally  employs  as  compared to the typical 9600
  269.                  baud UUCP dial-up.  
  270.  
  271.              3.  Even  if  your  TCP/IP  connection runs at the same
  272.                  rate  as  your  UUCP  connection,  you'll still get
  273.                  faster   newsfeeds!    That's   because  most  UUCP
  274.                  connections  feed  you  more  newsgroups  than  you
  275.                  want;  the  unwanted  newsgroups waste transmission
  276.                  time  and  then have to be deleted later.  KSP-Mail
  277.                  only retrieves those newsgroups you specify.  
  278.  
  279.              4.  Your  callers  will enjoy mail transfers that don't
  280.                  have  to  wait  for  scheduled  "events".  KSP-Mail
  281.                  waits  for  inbound  mail  24  hours a day, and can
  282.                  immediately  post  it  to  the BBS message base the
  283.                  moment  that it arrives!  Outbound mail can be sent
  284.                  as  soon  as  the  caller  saves  it to the message
  285.                  base, without even waiting for him to log off! 
  286.  
  287.  
  288.  
  289.  
  290.  
  291.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  292.  
  293.  
  294.         Oct 02, 1996           KSP-Mail (tm) v3.3                       2
  295.  
  296.  
  297.              5.  KSP-Mail  uses multi-threaded code so that multiple
  298.                  processes  can  run  concurrently.  What that means
  299.                  is  that  you  can receive mail, send mail, receive
  300.                  news,  and  send  news  all  at  the same time!  In
  301.                  fact,  as  many  as four inbound mail transfers can
  302.                  be   taking  place  at  the  same  time  from  four
  303.                  different  remote sites on the Internet!  You don't
  304.                  even   need   a   multi-tasking  operating  system;
  305.                  KSP-Mail will run on a regular MS/DOS machine.  
  306.  
  307.              6.  KSP-Mail  was  designed so that it can be used with
  308.                  any  kind of BBS software.  If your BBS can do UUCP
  309.                  mail,  then  it  can  use KSP-Mail! In other words,
  310.                  KSP-Mail  reads and writes UUCP-style mail and news
  311.                  files,  not  the  message base format of a specific
  312.                  BBS package.  
  313.  
  314.         KSP-Mail   is   shareware.    The  unlicensed  version  is  fully
  315.         functional  except  that  it  limits  mail and news messages to a
  316.         maximum  of  five  lines of text.  Once licensed, this limitation
  317.         is removed.  
  318.  
  319.         KSP-Mail  was  implemented  using  Erick  Engelke's  Waterloo TCP
  320.         library  and  Mix  Software's  Power C compiler and their Multi-C
  321.         and  C/Database libraries.  Thanks go to James Laszko at The File
  322.         Bank  BBS  (jlaszko@tfb.com)  for his many extended hours of beta
  323.         testing  this  product  so that you won't have to!  The File Bank
  324.         BBS now runs the full line of KSP products.  
  325.  
  326.  
  327.         1.2 Mail and News Service Overview     
  328.  
  329.         There  are  a  total  of  nine  different  "threads" of execution
  330.         (processes)  running  concurrently  in  KSP-Mail.   Four of these
  331.         accept  incoming  mail  from  as  many  as  four different remote
  332.         computers  simultaneously.   Three  more  handle  outbound  mail,
  333.         outbound  news  and  inbound news.  The eighth is a command shell
  334.         thread  is  used  to  run  other MS/DOS programs, and the last is
  335.         used  to  periodically  contact  a  network  time  server  to set
  336.         KSP-Mail's time and date clock.  
  337.  
  338.         There  are  (of  course)  some  resource limitations: The command
  339.         shell  thread  is  only  allowed  to  run  when  all of the other
  340.         threads  are  idle; while the command thread is running, no other
  341.         thread  is allowed to start an activity.  When the command thread
  342.         is  not running, no more than four of the remaining seven threads
  343.         may  run  at the same time; note that this always guarantees that
  344.         at  least  one inbound mail process is always running except when
  345.         the command thread is active.  
  346.  
  347.  
  348.  
  349.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  350.  
  351.  
  352.         Oct 02, 1996           KSP-Mail (tm) v3.3                       3
  353.  
  354.  
  355.  
  356.  
  357.         1.2.1 The "Mail-In" Server Process(es)      
  358.  
  359.         KSP-Mail  implements  an ESMTP server with up to four independent
  360.         processes  that do nothing but listen for connections from remote
  361.         machine  wishing  to  upload incoming mail.  Up to four processes
  362.         may  be  configured  to  improve  the odds that at least one will
  363.         always  be  available  to respond when a remote machine wishes to
  364.         connect.  
  365.  
  366.         Once  a  mail message has been received, it is written to a spool
  367.         directory  as  a  pair of UUCP files whose names are derived from
  368.         number  stored  in  a  "sequence"  file.   The  "data" (*.D) file
  369.         contains  the  text  of the message and is created first; once it
  370.         has  been  successfully written, then the "execute" (*.X) file is
  371.         created  containing  the  UUCP  commands  needed  to  import  the
  372.         message into the BBS message base.  
  373.  
  374.                 Mail-In   --->   UUCP          UUCP           BBS
  375.                 ESMTP     --->   Files   --->  Import   --->  Message
  376.                 server    --->   (*.D)         Utility        Base
  377.                 sessions  --->   (*.X)
  378.  
  379.                   Figure 1.  Overview of how mail is imported.
  380.  
  381.         Importing  the UUCP files is handled by your own UUCP mail import
  382.         utility  program,  such as PCBoard's UUIN.EXE.  There are several
  383.         ways to run this utility: 
  384.  
  385.              (1)  On  a separate machine, you can setup a batch file
  386.                   with  a  continuous  loop  that  looks for execute
  387.                   files  in  the  mail directory and runs the import
  388.                   utility  as  soon  as  one or more are discovered.
  389.                   The batch file can be as simple as: 
  390.  
  391.                           :TOP
  392.                           IF EXIST C:\UUCP\SPOOL\MAIL\*.X UUIN
  393.                           GOTO TOP
  394.  
  395.                   Theoretically,  you could use DESQview to run both
  396.                   KSP-Mail   and   this   batch  file  on  the  same
  397.                   machine.   Although  KSP-Mail  is DESQview "aware"
  398.                   and  will give up time slices, many UUCP utilities
  399.                   do   not,   and   so  this  approach  may  degrade
  400.                   KSP-Mail's performance.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  408.  
  409.  
  410.         Oct 02, 1996           KSP-Mail (tm) v3.3                       4
  411.  
  412.  
  413.              (2)  You  can  use  the  "ksp-mail.import_mail_seconds"
  414.                   configuration  parameter  to have KSP-Mail run the
  415.                   import utility for you at regular intervals.  
  416.  
  417.              (3)  You  can  use  the  "ksp-mail.import_mail_trigger"
  418.                   configuration  parameter to run the import utility
  419.                   immediately  after  KSP-Mail  has written the UUCP
  420.                   inbound spool file(s) to the spool directory.  
  421.  
  422.              (4)  You  can  use  a  regular BBS scheduled "event" to
  423.                   run   the   import  utility  for  you  at  regular
  424.                   intervals.    (Of  course  this  method  does  not
  425.                   expedite importing of inbound mail.) 
  426.  
  427.  
  428.         1.2.2 The "Mail-Out" Client Process      
  429.  
  430.         The  Mail-Out  process  of  KSP-Mail  is  implemented as an ESMTP
  431.         client.   It  watches  the  UUCP mail spool directory looking for
  432.         outbound  UUCP  message  files.   As  soon  as an execute file is
  433.         discovered,  the  Mail-Out  process  wakes  up,  connects  to the
  434.         remote  ESMTP  or  SMTP  mail server, delivers the mail, and then
  435.         deletes the corresponding UUCP files.  
  436.  
  437.         UUCP  stores  each  message as a set of three files - a "command"
  438.         file  (*.CMD),  an  "execute"  file  (*.XQT),  and  a "data" file
  439.         (*.DAT).   Mail-Out  ignores  the  command file and looks instead
  440.         for  the execute file, since it is usually created after the data
  441.         file.  
  442.  
  443.                 BBS            UUCP          UUCP Files        The
  444.                 Message  --->  Export  --->  (*.DAT)     --->  Mail-Out
  445.                 Base           Utility       (*.XQT)           Client 
  446.                                              (*.CMD)           Process
  447.  
  448.                   Figure 2.  Overview of how mail is exported.
  449.  
  450.         This  approach  requires  that  outbound mail is somehow exported
  451.         from  the  BBS message base to the UUCP spool directory by a UUCP
  452.         export  utility  program.   There  are  several  ways to run this
  453.         utility: 
  454.  
  455.              (1)  On  a separate machine, you can setup a batch file
  456.                   that  runs  the  export  utility  in  an  infinite
  457.                   loop.  The batch file can be as simple as: 
  458.  
  459.                           :TOP
  460.                           UUOUT
  461.                           GOTO TOP
  462.  
  463.  
  464.  
  465.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  466.  
  467.  
  468.         Oct 02, 1996           KSP-Mail (tm) v3.3                       5
  469.  
  470.  
  471.  
  472.                   Theoretically,  you could use DESQview to run both
  473.                   KSP-Mail   and   this   batch  file  on  the  same
  474.                   machine.   Although  KSP-Mail  is DESQview "aware"
  475.                   and  will give up time slices, many UUCP utilities
  476.                   do   not,   and   so  this  approach  may  degrade
  477.                   KSP-Mail's performance.  
  478.  
  479.              (2)  You  can  use  the  "ksp-mail.export_mail_seconds"
  480.                   configuration  parameter  to have KSP-Mail run the
  481.                   export utility for you at regular intervals.  
  482.  
  483.              (3)  You  can  use  the  "ksp-mail.export_mail_trigger"
  484.                   configuration  parameter to run the export utility
  485.                   whenever  the  size  of  the  BBS Internet message
  486.                   base   increases.    This  will  run  the  utility
  487.                   whenever  someone  enters  a new outbound message.
  488.                   (Note  that the size of the message base will also
  489.                   increase   when  inbound  mail  is  added  to  the
  490.                   message  base,  but  running the export utility in
  491.                   this case should have no detrimental effect.) 
  492.  
  493.              (4)  You  can  add the export command to the batch file
  494.                   that  runs  your  BBS, causing it to always try to
  495.                   export  any  pending outbound mail after each user
  496.                   logs off.  
  497.  
  498.              (5)  You  can  use  a  regular BBS scheduled "event" to
  499.                   run   the   export  utility  for  you  at  regular
  500.                   intervals.    (Of  course  this  method  does  not
  501.                   expedite exporting of outbound mail.) 
  502.  
  503.  
  504.         1.2.3 The "News-In" Process (and Import Methods)    
  505.  
  506.         NNTP (and KSP-Mail) provides two methods for importing news.   
  507.  
  508.         The  first  method  is known as "pulling" news: KSP-Mail connects
  509.         as  a  client  to  an  NNTP  server and asks (for each of several
  510.         newsgroups)  what new news is available and then requests the new
  511.         articles one at a time.  
  512.  
  513.         The  second method is known as "pushing" news: KSP-Mail runs as a
  514.         NNTP  server and waits for a news "feed" from a client.  When the
  515.         client  connects,  it tells KSP-Mail what new articles it has and
  516.         uploads those that KSP-Mail requests.  
  517.  
  518.         In  the  "pull" method, KSP-Mail maintains the list of newsgroups
  519.         it  wants to import; in the "push" method, the list of newsgroups
  520.  
  521.  
  522.  
  523.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  524.  
  525.  
  526.         Oct 02, 1996           KSP-Mail (tm) v3.3                       6
  527.  
  528.  
  529.         fed  to  KSP-Mail  is  maintained  by the system administrator of
  530.         your news feed.  
  531.  
  532.         KSP-Mail  determines  which method to use based on whether or not
  533.         you  specify a list of newsgroups using the "ksp-mail.newsgroups"
  534.         configuration parameter.  
  535.  
  536.         The  "pull" method gives KSP-Mail more control over what articles
  537.         it  retrieves.   It  allows  you  to  change  your  selection  of
  538.         newsgroups  without  notifying  the  NNTP  system  administrator.
  539.         However,  the  "pull"  method  also  places  a  heavy load on the
  540.         remote  NNTP  server, and most NNTP system operators would prefer
  541.         that you ask for a feed.  
  542.  
  543.         The  either  case, the News-In process writes UUCP files that are
  544.         imported  into  your BBS message base by your UUCP import utility
  545.         program: 
  546.  
  547.                 News-In         UUCP          UUCP           BBS
  548.                 Client   --->   Files   --->  Import   --->  Message
  549.                 Process         (*.D)         Utility        Base
  550.                                 (*.X)
  551.  
  552.                   Figure 3.  Overview of how news is imported.
  553.  
  554.         UUCP  can  transfer  (and  store)  Usenet  news  in  one of three
  555.         formats: 
  556.  
  557.              (1)  "Unbatched  and  Uncompressed":  This  is the same
  558.                   format  as  used  for  mail.  Each individual news
  559.                   article  is transferred as a separate file without
  560.                   compression.  
  561.  
  562.              (2)  "Uncompressed   Batch":   Like  (1),  except  that
  563.                   separate    articles    are    concatenated   with
  564.                   separators   and  transferred  as  a  single  file
  565.                   without compression.  
  566.  
  567.              (3)  "Compressed  Batch":  Like  (2),  except  that the
  568.                   file  has  then been compressed to reduce transfer
  569.                   time.  
  570.  
  571.         KSP-Mail  writes  incoming  Usenet  news  as  UUCP  files  in  in
  572.         uncompressed  batch  format;  no  decompression is required.  One
  573.         data  (*.D)  file  and  one  execute  (*.X)  file  is written per
  574.         newsgroup.   If  you  prefer,  KSP-Mail will write these files in
  575.         uncompressed/unbatched   format   by  setting  the  configuration
  576.         parameter "ksp-mail.batch_news" to "disabled".  
  577.  
  578.  
  579.  
  580.  
  581.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  582.  
  583.  
  584.         Oct 02, 1996           KSP-Mail (tm) v3.3                       7
  585.  
  586.  
  587.         News  is  imported  into the BBS message base by running the UUCP
  588.         import utility.  There are several ways to run this utility: 
  589.  
  590.              (1)  On  a separate machine, you can setup a batch file
  591.                   with  a  continuous  loop  that  looks for execute
  592.                   files  in  the  news directory and runs the import
  593.                   utility  as  soon  as  one or more are discovered,
  594.                   similar  to  the same method described for inbound
  595.                   mail.  
  596.  
  597.                   Theoretically,  you could use DESQview to run both
  598.                   KSP-Mail   and   this   batch  file  on  the  same
  599.                   machine.   Although  KSP-Mail  is DESQview "aware"
  600.                   and  will give up time slices, many UUCP utilities
  601.                   do   not,   and   so  this  approach  may  degrade
  602.                   KSP-Mail's performance.  
  603.  
  604.              (2)  You  can  use  the  "ksp-mail.import_news_trigger"
  605.                   configuration  parameter to run the import utility
  606.                   immediately  after  KSP-Mail  has written the UUCP
  607.                   inbound spool file(s) to the spool directory.  
  608.  
  609.              (3)  You  can  use  a  regular BBS scheduled "event" to
  610.                   run   the   import  utility  for  you  at  regular
  611.                   intervals.    (Of  course  this  method  does  not
  612.                   expedite importing of inbound news.) 
  613.  
  614.         KSP-Mail  allows  you  to specify different spool directories for
  615.         mail  and  news.  This means you can import mail immediately when
  616.         it  arrives  without spending lots of time importing lots of news
  617.         that happens to be sitting in the same spool directory.  
  618.  
  619.  
  620.         1.2.4 The "News-Out" Client Process      
  621.  
  622.         Outbound  news  is  handled  in  two  different ways according to
  623.         whether   or   not  the  newsgroup  is  moderated.   Postings  to
  624.         moderated  newsgroups are sent as mail messages to the designated
  625.         newsgroup  moderator;  postings to unmoderated newsgroups must be
  626.         sent  as  news  to  a news server.  With UUCP, this difference is
  627.         handled  by  the remote machine at the far end of your UUCP link;
  628.         with  ESMTP/SMTP  and  NNTP  this  difference  must be determined
  629.         before the message is put out to the Internet.  
  630.  
  631.         In  KSP-Mail, the News-Out process is designed to handle postings
  632.         to  unmoderated  newsgroups; postings to moderated newsgroups are
  633.         handled by the Mail-Out process.  
  634.  
  635.         The  News-Out  process  works  almost identically to the Mail-Out
  636.  
  637.  
  638.  
  639.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  640.  
  641.  
  642.         Oct 02, 1996           KSP-Mail (tm) v3.3                       8
  643.  
  644.  
  645.         process.   Both  are  implemented  as  client processes, and both
  646.         scan  for  execute  (*.XQT)  files of outbound messages (although
  647.         perhaps  in  different directories).  The difference is that mail
  648.         must  be sent to an ESMTP/SMTP server while news postings must be
  649.         sent  to  an  NNTP  server.   KSP-Mail  makes  this  decision  by
  650.         examining the UUCP command stored inside the execute file.  
  651.  
  652.         News  is  exported  from the BBS message base by running the UUCP
  653.         export utility.  There are several ways to run this utility: 
  654.  
  655.              (1)  On  a separate machine, you can setup a batch file
  656.                   that  runs the export utility in an infinite loop,
  657.                   similar  to the same method described for outbound
  658.                   mail.  
  659.  
  660.                   Theoretically,  you could use DESQview to run both
  661.                   KSP-Mail   and   this   batch  file  on  the  same
  662.                   machine.   Although  KSP-Mail  is DESQview "aware"
  663.                   and  will give up time slices, many UUCP utilities
  664.                   do   not,   and   so  this  approach  may  degrade
  665.                   KSP-Mail's performance.  
  666.  
  667.              (2)  You  can  use  the  "ksp-mail.export_news_seconds"
  668.                   configuration  parameter  to have KSP-Mail run the
  669.                   export utility for you at regular intervals.  
  670.  
  671.              (3)  You  can  use  a  regular BBS scheduled "event" to
  672.                   run   the   export  utility  for  you  at  regular
  673.                   intervals.    (Of  course  this  method  does  not
  674.                   expedite exporting of outbound news.) 
  675.  
  676.  
  677.         1.2.5 The MS/DOS "Command" Process      
  678.  
  679.         KSP-Mail   can   execute  as  many  as  four  different  external
  680.         commands.    These   commands   are   intended   to  be  used  to
  681.         import/export  mail and news between the BBS message base and the
  682.         UUCP spool directories.   
  683.  
  684.         The  commands are specified by using one or more of the following
  685.         configuration parameters: 
  686.  
  687.         ksp-mail.export_mail_command: Used   to   export   Internet  mail
  688.                                       messages  from the BBS message base
  689.                                       to    a   UUCP   spool   directory.
  690.                                       Parameters   that   determine  when
  691.                                       this command will run are: 
  692.  
  693.                                       ksp-mail.export_mail_trigger
  694.  
  695.  
  696.  
  697.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  698.  
  699.  
  700.         Oct 02, 1996           KSP-Mail (tm) v3.3                       9
  701.  
  702.  
  703.                                       ksp-mail.export_mail_seconds 
  704.  
  705.         ksp-mail.export_news_command: Used  to  export news postings from
  706.                                       the  BBS  message  base  to  a UUCP
  707.                                       spool  directory.   Parameters that
  708.                                       determine  when  this  command will
  709.                                       run are: 
  710.  
  711.                                       ksp-mail.export_news_seconds 
  712.  
  713.         ksp-mail.import_mail_command: Used   to   import   Internet  mail
  714.                                       messages    from   a   UUCP   spool
  715.                                       directory   to   the   BBS  message
  716.                                       base.   Parameters  that  determine
  717.                                       when this command will run are: 
  718.  
  719.                                       ksp-mail.import_mail_seconds
  720.                                       ksp-mail.import_mail_trigger 
  721.  
  722.         ksp-mail.import_news_command: Used  to  import  Usenet news files
  723.                                       from  a UUCP spool directory to the
  724.                                       BBS  message base.  Parameters that
  725.                                       determine  when  this  command will
  726.                                       run are: 
  727.  
  728.                                       ksp-mail.import_news_trigger 
  729.  
  730.         No   commands  will  run  until  all  other  processes  (Mail-In,
  731.         Mail-Out,  News-In,  News-Out,  and  Set-Clock) are idle.  Once a
  732.         command  starts  running,  no other process can do anything until
  733.         the   command  is  finished;  this  includes  accepting  incoming
  734.         ESMTP/SMTP connections from remote machines.   
  735.  
  736.         Note:  With  lots of newsgroups, the News-In process can generate
  737.         hundreds  of  inbound  news  article files to be processed by the
  738.         UUCP  import  utility  in the command shell.  This can cause long
  739.         periods  of  "dead  time"  during which the Mail-In server cannot
  740.         listen  for connections from remote ESMTP/SMTP clients wishing to
  741.         deliver mail.   
  742.  
  743.         Most  ESMTP/SMTP clients will try to connect several times over a
  744.         period  of  hours  before  giving  up,  so  this usually is not a
  745.         serious  problem.   However,  if  you are "pulling" news, you can
  746.         reduce  the  "dead  time"  dramatically  by appending the ",sort"
  747.         option  to  the  end  of  the "ksp-mail.newsgroups" configuration
  748.         setting.   This  causes  KSP-Mail to run the UUCP utility between
  749.         newsgroups  rather  than  after  all  have  been  processed, thus
  750.         greatly reducing the number of files to be processed.  
  751.  
  752.  
  753.  
  754.  
  755.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  756.  
  757.  
  758.         Oct 02, 1996           KSP-Mail (tm) v3.3                      10
  759.  
  760.  
  761.  
  762.         1.2.6 The "Set-Clock" Client Process      
  763.  
  764.         In  order  to  guarantee an accurate time reference for retrieval
  765.         of  Usenet  news articles posted since a certain date and time, a
  766.         network  time  client  is  provided  to  set  KSP-Mail's internal
  767.         clock.   If enabled, the process sets the clock immediately after
  768.         KSP-Mail  is  started,  and then again periodically as determined
  769.         by the configuration parameter "ksp-mail.set_clock_hours".  
  770.  
  771.         A  network  time  server can be specified using the configuration
  772.         parameter  "ksp-mail.time_server".   More  than one server can be
  773.         specified in case the first does not respond.  
  774.  
  775.         Note:  Since the objective is to synchronize KSP-Mail's time with
  776.         that  of  the NNTP server, then if that machine is also running a
  777.         time server, you might want to use it as your time server too.   
  778.  
  779.  
  780.         1.3 Hardware Requirements        
  781.  
  782.         KSP-Mail  must  be  run  on a PC with a 24 hour connection to the
  783.         Internet.   Ideally,  this  connection  is by means of an adapter
  784.         card  connected  to  an  Ethernet and then through a "gateway" to
  785.         the  Internet.   However,  it  is also possible to connect to the
  786.         Internet  via  a  dial-up  SLIP  (Serial  Line Internet Protocol)
  787.         connection  to  a  commercial  Internet  Access  Provider.   This
  788.         approach  requires  a  second  serial  port, modem, and telephone
  789.         line  dedicated  to  this purpose.  Information on finding such a
  790.         provider is available on the KSP BBS.  
  791.  
  792.         We  recommend dedicating an entire machine to KSP-Mail due to the
  793.         typically  heavy  inbound  news  traffic.  Although theoretically
  794.         KSP-Mail  can  run  on  anything from an 8088 on up, best results
  795.         will be obtained on a 386SX25 or better.   
  796.  
  797.         Every  BBS uses a pair of utility programs to convert messages to
  798.         UUCP   files  and  vice-versa.   (E.g.,  PCBoard  uses  UUIN  and
  799.         UUOUT.)   KSP-Mail  can  load  and execute these utilities on the
  800.         same  machine;  however,  KSP-Mail will not be able to listen for
  801.         inbound  mail  while  they are running.  A heavy Usenet news load
  802.         may  require  running  the  inbound  conversion utility for quite
  803.         some  time;  in  this  case,  you'll  probably  need  yet another
  804.         machine  just  to  do this conversion.  If you're "pulling" news,
  805.         however,  you  may  be able to reduce this time using the ",sort"
  806.         option of the "ksp-mail.newsgroups" configuration parameter.  
  807.  
  808.         A  reasonable  compromise  solution  would be to run KSP-Mail and
  809.         the  conversion  utilities under separate DESQview windows on the
  810.  
  811.  
  812.  
  813.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  814.  
  815.  
  816.         Oct 02, 1996           KSP-Mail (tm) v3.3                      11
  817.  
  818.  
  819.         same  machine;  in  this  case  we recommend a 486SX25 or better.
  820.         Although  KSP-Mail  is  DESQview  "aware"  and  will give up time
  821.         slices,  many  UUCP  utilities  do  not, and so this approach may
  822.         degrade KSP-Mail's performance.  
  823.  
  824.  
  825.         1.4 Software Requirements        
  826.  
  827.         KSP-Mail  was designed to run under MS/DOS.  Since it runs on its
  828.         own  machine,  it  doesn't  matter  what operating system the BBS
  829.         uses,  as  long  as  the  KSP-Mail machine can read and write the
  830.         same file system used by your BBS.  
  831.  
  832.         KSP-Mail  runs  on  top  of  another  piece  of software called a
  833.         "packet  driver".  The packet driver presents a standard software
  834.         interface  to  KSP-Mail,  regardless  of  the  type  of  hardware
  835.         interface  that  connects  the  PC to the network.  Public domain
  836.         packet drivers exist for SLIP links and most Ethernet cards.  
  837.  
  838.         If  your  PC  is  connected  to  a non-TCP/IP proprietary network
  839.         (such  as  Novell  or Lantastic), you will probably need a packet
  840.         driver "shim".  
  841.  
  842.         KSP-Mail  does  NOT  require  that you purchase a separate TCP/IP
  843.         package,   such  as  that  sold  by  Novell,  Artisoft,  or  IBM.
  844.         KSP-Telent  should  happily  coexist  with any of these packages,
  845.         however.  
  846.  
  847.         An  assortment  of  public  domain  packet  drivers and shims are
  848.         available on the KSP BBS.  
  849.  
  850.  
  851.         1.5 Running under OS/2       
  852.  
  853.         KSP-Mail  CAN  be  run  in a DOS session under OS/2.  It is "OS/2
  854.         Aware",  and  will give up time slices so that it doesn't hog the
  855.         cpu.   To  run  under OS/2, you must install the packet driver in
  856.         the  same  DOS  session  that  runs  KSP-Mail.   Since the packet
  857.         driver  is  also designed for DOS, it will NOT talk to the TCP/IP
  858.         stack  of  OS/2  Warp  Connect;  thus you must install a separate
  859.         network  interface  card just for KSP-Mail.  You cannot share one
  860.         interface  card  between  both  KSP-Mail  and the TCP/IP stack of
  861.         OS/2.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  872.  
  873.  
  874.         Oct 02, 1996           KSP-Mail (tm) v3.3                      12
  875.  
  876.  
  877.         1.6 Network Resources You'll Need      
  878.  
  879.         KSP-Mail can handle mail, or news, or both.   
  880.  
  881.         To  use KSP-Mail as an ESMTP client to deliver outbound mail, you
  882.         will  need  to  identify  an ESMTP or SMTP server that will allow
  883.         KSP-Mail  to connect and post mail; the server must be willing to
  884.         act  as  a  "relay  server",  forwarding the mail to its ultimate
  885.         destination.   
  886.  
  887.         To  use KSP-Mail as an ESMTP server for inbound mail, you'll need
  888.         to  establish an "MX" (Mail Exchanger) record in your name server
  889.         that  directs  mail  addressed  to the domain name of your BBS to
  890.         the IP address of the machine running KSP-Mail.  
  891.  
  892.         To  use  the  "pull"  method  of news retrieval, you will need to
  893.         find  an  NNTP  server  that will allow you to connect as an NNTP
  894.         client, retrieve news articles, and post news articles.  
  895.  
  896.         To  use  the  "push"  method  of news retrieval, you will need to
  897.         find  someone running an NNTP server who is willing to give you a
  898.         "news feed".  
  899.  
  900.         To  use  KSP-Mail's  Set-Clock process to keep an accurate clock,
  901.         you will need to find a TIME server.  
  902.  
  903.         Your  local  network  guru  or Internet Access Provider should be
  904.         able to help you with these matters.  
  905.  
  906.         For  each  of  the  remote  servers (ESMTP/SMTP, NNTP, and TIME),
  907.         either  its  domain  name or IP address is required; IP addresses
  908.         are  preferred  however,  since  they  eliminate the necessity of
  909.         doing name server lookups at startup.  
  910.  
  911.  
  912.         1.7 GMT Time and the TZ Environment Variable   
  913.  
  914.         The  international  time  standard  used  by both ESMTP, SMTP and
  915.         NNTP  is Greenwich Mean Time (GMT).  KSP-Mail uses an environment
  916.         variable  string  called  "TZ" that specifies how your local time
  917.         is converted to GMT time.  
  918.  
  919.         The   environment   string   must   consist  of  a  three  letter
  920.         abbreviation  for  your  time zone, followed by a signed integer.
  921.         The  integer  is  the number of hours that when added (mod 24) to
  922.         your  local  time  gives GMT time.  For example, when it's 3am in
  923.         California,  it's  11am  GMT; i.e., we add 8 to get GMT time, and
  924.         thus  the proper TZ string for California's Pacific Standard Time
  925.         is  PST8  (or  PST+8).   The  corresponding  command placed in an
  926.  
  927.  
  928.  
  929.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  930.  
  931.  
  932.         Oct 02, 1996           KSP-Mail (tm) v3.3                      13
  933.  
  934.  
  935.         AUTOEXEC.BAT file would be: 
  936.  
  937.                                    SET TZ=PST8
  938.  
  939.         In  general, time zones west of Greenwich use a positive integer,
  940.         while time zones east of Greenwich use a negative integer.  
  941.  
  942.         The  TZ string may be optionally followed by another three letter
  943.         abbreviation  to  indicate  that daylight saving time is observed
  944.         (e.g.,  PST8PDT  for  "Pacific  Daylight Savings Time").  In this
  945.         case,  KSP-Mail  will automatically move its clock one hour ahead
  946.         at  2am  (local  time)  on the first Sunday in April, and move it
  947.         back at 2am on the last Sunday in October.  
  948.  
  949.  
  950.         1.8 Other KSP Software       
  951.  
  952.         Key  Software  Products  offers  a  number  of other products for
  953.         BBS's: 
  954.  
  955.  
  956.         1.8.1 KSP Telnet        
  957.  
  958.         A   door  program  that  allows  callers  to  connect  to  remote
  959.         computers  anywhere  on the Internet via your BBS.  Available now
  960.         on our BBS.  
  961.  
  962.  
  963.         1.8.2 KSP FTP        
  964.  
  965.         A  door  program  that  allows  callers to transfer files to/from
  966.         remote computers anywhere on the Internet via your BBS.  
  967.  
  968.  
  969.         1.8.3 KSP SLIP        
  970.  
  971.         A  door  program  that  allows callers to run any TCP/IP software
  972.         from  home,  including using Mosaic to browse the World Wide Web.
  973.         Available now on our BBS.  
  974.  
  975.  
  976.         1.8.4 KSP HOST        
  977.  
  978.         An  inbound  Telnet  server  for  MS/DOS  Bulletin Board Systems.
  979.         Every  node  can  answer both telnet and modem calls!  Requires a
  980.         fossil  driver  on  each node, a 24 hour TCP/IP connection to the
  981.         Internet,  and a local area network that supports NetBios such as
  982.         Novell or Lantastic.  
  983.  
  984.  
  985.  
  986.  
  987.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  988.  
  989.  
  990.         Oct 02, 1996           KSP-Mail (tm) v3.3                      14
  991.  
  992.  
  993.  
  994.         1.8.5 So Many CD's       
  995.  
  996.         A  PCBoard PPE to handle off-line CD-Roms.  Seamlessly integrated
  997.         into  PCBoard.   Users  post requests for off-line files and have
  998.         then  returned  as  attachments to messages. Configurable message
  999.         pack-out  dates  automatically  keep  your hard disk from getting
  1000.         cluttered.  Available now on our BBS.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1046.  
  1047.  
  1048.         Oct 02, 1996           KSP-Mail (tm) v3.3                      15
  1049.  
  1050.  
  1051.              CHAPTER 2 - INSTALLING THE NETWORK CONNECTION FIRST    
  1052.  
  1053.  
  1054.         Before installing KSP-Mail, you must first install: 
  1055.  
  1056.              1.  The network interface hardware.  
  1057.              2.  A corresponding packet driver.  
  1058.              3.  A packet driver shim (if needed).  
  1059.  
  1060.         Detailed  directions for these preliminary steps are available in
  1061.         separate   documentation   that   comes  with  the  corresponding
  1062.         hardware or software.   
  1063.  
  1064.         It's  most  common  that multi-node BBS's are interconnected with
  1065.         Ethernet  and  either  Lantastic or Novell.  Unfortunately, these
  1066.         two  network  operating  systems  were  designed  using their own
  1067.         proprietary  protocols  rather than the TCP/IP protocol and their
  1068.         own  proprietary  software  rather than packet drivers to talk to
  1069.         their  Ethernet  interface  cards.   However, a piece of software
  1070.         called  a packet driver "shim" can be used to let both TCP/IP and
  1071.         their proprietary protocol coexist.  
  1072.  
  1073.  
  1074.         2.1 Packet Driver Shim for Novell     
  1075.  
  1076.         Novell's  network  software is installed in layers as TSRs in the
  1077.         order  shown  below.   These commands are usually found either in
  1078.         the  AUTOEXEC.BAT  file  or  in another batch file in a directory
  1079.         typically called C:\NWCLIENT.  
  1080.  
  1081.              LSL
  1082.              NE2000  }-- specific to your interface card
  1083.              IPXODI
  1084.              VLM
  1085.  
  1086.         The  packet driver shim (ODIPKT) logically sits on top of IPXODI,
  1087.         providing   a  packet  driver  interface  for  software  such  as
  1088.         KSP-Mail: 
  1089.  
  1090.              LSL
  1091.              NE2000 +--- Frame Type (0-3)
  1092.              IPXODI |
  1093.              ODIPKT 2 97  }--- The packet driver shim
  1094.              VLM       |
  1095.                        +----- Packet Vector Interrupt (96-127)
  1096.                               (See comment below about hex vs. decimal)
  1097.  
  1098.         The  ODIPKT  command  line parameters may vary according to which
  1099.         version  of  the  software  you  have  and  how  your hardware is
  1100.  
  1101.  
  1102.  
  1103.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1104.  
  1105.  
  1106.         Oct 02, 1996           KSP-Mail (tm) v3.3                      16
  1107.  
  1108.  
  1109.         configured.   The "Frame Type" parameter should correspond to the
  1110.         position  of  ETHERNET_II  among  the  frame  types  specified in
  1111.         NET.CFG;  zero  (0)  selects  the  first  frame type, one (1) the
  1112.         second,  and  so on.  The "Packet Vector Interrupt" number should
  1113.         correspond  to  an  unused  interrupt  vector.   Note  that older
  1114.         versions  of  ODIPKT  insist that this number be given in decimal
  1115.         (96-127)  rather  than  in hex (0x60-0x7F).  The necessary packet
  1116.         driver  shim can be downloaded from the Key Software Products BBS
  1117.         as file ODI-SHIM.ZIP.   
  1118.  
  1119.  
  1120.         2.2 Packet Driver Shim for Novell w/Token-Ring SNAP   
  1121.  
  1122.         Another  shim  called  ODITRPKT  exists for Novell that should be
  1123.         used  if the underlying network is Token-Ring_SNAP.  Installation
  1124.         is  similar  to  ODIPKT as described above, except that the first
  1125.         command  line  parameter  must  correspond to the Token-Ring_SNAP
  1126.         frame  type  in NET.CFG, and starts at "1" rather than "0".  This
  1127.         shim  can  be  downloaded  from  the Key Software Products BBS as
  1128.         file TKN-SHIM.ZIP.  
  1129.  
  1130.  
  1131.         2.3 Packet Driver Shim for Lantastic     
  1132.  
  1133.         Using   a   packet  driver  shim  with  Lantastic  requires  that
  1134.         Lantastic  be  installed  using  NDIS  (Network  Driver Interface
  1135.         Specification)  Support.  The necessary packet driver shim can be
  1136.         downloaded   from   the   Key   Software  Products  BBS  as  file
  1137.         DIS-SHIM.ZIP.  
  1138.  
  1139.         NDIS   allows  you  to  stack  multiple  protocols  on  a  single
  1140.         adapter.   This  lets  you use multiple protocol drivers (such as
  1141.         LANtastic  and  TCP/IP)  on  the  same adapter.  You can also use
  1142.         NDIS  to  include  third-party adapters that have NDIS drivers in
  1143.         your   LANtastic   network.    Supported  adapter  types  include
  1144.         Ethernet,  Token-Ring  and ARCNET (R) adapters.  The software and
  1145.         documentation  necessary  to  add  NDIS  support  to  an existing
  1146.         Lantastic network is available free of charge from Artisoft.  
  1147.  
  1148.         Once  you  have NDIS installed and working with Lantastic, adding
  1149.         the  shim is a simple matter of editing PROTOCOL.INI (part of the
  1150.         NDIS support) and CONFIG.SYS.  
  1151.  
  1152.  
  1153.         2.3.1 Changes to CONFIG.SYS       
  1154.  
  1155.         With  NDIS  installed,  there  will be two device driver lines in
  1156.         your CONFIG.SYS file that look something like the following: 
  1157.  
  1158.  
  1159.  
  1160.  
  1161.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1162.  
  1163.  
  1164.         Oct 02, 1996           KSP-Mail (tm) v3.3                      17
  1165.  
  1166.  
  1167.              DEVICE=C:\LANTASTI\PROTMAN.DOS /I:C:\LANTASTI
  1168.              DEVICE=C:\LANTASTI\AEXNDIS.DOS
  1169.  
  1170.         The  file  listed  in  the  second line may differ if you are not
  1171.         using  Artisoft's  interface  card; in that case, this file would
  1172.         typically  be  replaced  by  a  NDIS  driver supplied by the card
  1173.         manufacturer.  
  1174.  
  1175.         The  packet  driver  shim  itself  is installed as a third device
  1176.         driver after the first two, as in: 
  1177.  
  1178.              DEVICE=C:\LANTASTI\PROTMAN.DOS /I:C:\LANTASTI
  1179.              DEVICE=C:\LANTASTI\AEXNDIS.DOS
  1180.              DEVICE=C:\DRIVERS\DIS_PKT.DOS  }--- The packet driver shim
  1181.  
  1182.  
  1183.         2.3.2 Changes to PROTOCOL.INI       
  1184.  
  1185.         The  PROTOCOL.INI  file  is  a  text file created (usually in the
  1186.         C:\LANTASTI  directory) as part of the NDIS installation.  Before
  1187.         adding  the  packet  driver  shim,  it  typically  looks like the
  1188.         following,  but  with  the  "iobase"  and  "interrupt" parameters
  1189.         changed   according   to   your  hardware,  or  with  the  entire
  1190.         "[AEXNDIS_NIF]"   section  replaced  if  you  are  not  using  an
  1191.         Artisoft interface card.  
  1192.  
  1193.              [PROTMAN]
  1194.                DRIVERNAME = PROTMAN$
  1195.                DYNAMIC = YES
  1196.  
  1197.              [AEXNDIS_NIF]
  1198.                DRIVERNAME = AEXNDS$
  1199.                IOBASE = 0x300
  1200.                INTERRUPT = 15
  1201.  
  1202.         Adding  the packet driver shim requires adding another section to
  1203.         the PROTOCOL.INI file: 
  1204.  
  1205.              [PROTMAN]
  1206.                DRIVERNAME = PROTMAN$
  1207.                DYNAMIC = YES
  1208.  
  1209.              [AEXNDIS_NIF]               <---+
  1210.                DRIVERNAME = AEXNDS$          |
  1211.                IOBASE = 0x300                |
  1212.                INTERRUPT = 15                | These names must match!
  1213.                                              |
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1220.  
  1221.  
  1222.         Oct 02, 1996           KSP-Mail (tm) v3.3                      18
  1223.  
  1224.  
  1225.              [PKTDRV]                        |
  1226.                DRIVERNAME = PKTDRV$          |
  1227.                BINDINGS = AEXNDIS_NIF    <---+
  1228.                INTVEC = 0x61
  1229.                CHAINVEC = 0x66
  1230.                NOVELL = Y
  1231.  
  1232.         Note  that the name "AEXNDIS_NIF" must exactly match the spelling
  1233.         used  as  the  title of the previous section, "[AEXNDIS_NIF]"; if
  1234.         you  are not using Artisoft interface cards, then both occurences
  1235.         will  use  some  other identifier.  The "INTVEC" parameter may be
  1236.         anything  from  0x60  to 0x80; you may have to experiment to find
  1237.         an unused interrupt number.  
  1238.  
  1239.  
  1240.         2.4 Packet Driver Shim for Banyan Vines    
  1241.  
  1242.         Although  Key  Software  Products  has  never  used  it, and thus
  1243.         cannot  offer help on its installation, a packet driver shim does
  1244.         exist  for  Banyan  Vines  and  can  be  downloaded  from the Key
  1245.         Software Products BBS as file BAN-SHIM.ZIP.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1278.  
  1279.  
  1280.         Oct 02, 1996           KSP-Mail (tm) v3.3                      19
  1281.  
  1282.  
  1283.                  CHAPTER 3 - THE WATTCP CONFIGURATION FILE     
  1284.  
  1285.  
  1286.         In  order  to  run, KSP-Mail needs to know some information about
  1287.         your  network,  and  tries  to  find this in a configuration file
  1288.         called  WATTCP.CFG.   KSP-Mail  looks  in  three  directories  to
  1289.         locate  this  file.  First, it checks for an environment variable
  1290.         called  WATTCP.CFG  that  specifies  the  directory.   Second, it
  1291.         looks  in  the  current (default) directory.  Third, if still not
  1292.         found,it  looks  in  the  directory  that contains the executable
  1293.         (KSP-MAIL.EXE).   
  1294.  
  1295.         The  following  example  may  be  helpful  for  those  using  the
  1296.         environment  variable  approach:  If you place WATTCP.CFG in your
  1297.         PCB  directory,  then  your  AUTOEXEC.BAT file should contain the
  1298.         following command: 
  1299.  
  1300.                               set WATTCP.CFG=C:\PCB
  1301.  
  1302.           Note that there is no trailing "\" after the directory name!
  1303.  
  1304.         If  KSP-Mail  still  can't  find  the configuration file, it will
  1305.         attempt  to  automatically  configure  itself  by  looking  for a
  1306.         "BOOTP"  server on your network.  Most BBSs will not have a BOOTP
  1307.         server,  so  we  do not recommend this approach.  We only mention
  1308.         it  here  because  it  explains  why  you'll get a message saying
  1309.         "Configuring  through  BOOTP" if it can't find your configuration
  1310.         file.  
  1311.  
  1312.         The   WATTCP.CFG   configuration  file  is  a  normal  text  file
  1313.         containing  one  entry  per line.  A sample configuration file is
  1314.         included  in  this  distribution, but the values MUST be modified
  1315.         to  suit  your  particular  environment or else KSP-Mail will not
  1316.         work!   
  1317.  
  1318.         The syntax of every entry follows the following format: 
  1319.  
  1320.            [ directive = [ "data" | data ] ] [ # comment | ; comment ]
  1321.  
  1322.         I.e.,  if  a  directive is not followed by data, the directive is
  1323.         ignored.   Similary,  lines  without directives are ignored.  The
  1324.         directive is NOT case sensitive; the data IS case sensitive.   
  1325.  
  1326.         e.g.,   netmask=255.255.252.0
  1327.                 domainslist=ksp.com    ; Our domain
  1328.  
  1329.         Whitespace  is normally removed from data; data containing blanks
  1330.         must  be  surrounded by quotes.  An unquoted '#' or ';' marks the
  1331.         beginning of a comment.  
  1332.  
  1333.  
  1334.  
  1335.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1336.  
  1337.  
  1338.         Oct 02, 1996           KSP-Mail (tm) v3.3                      20
  1339.  
  1340.  
  1341.  
  1342.  
  1343.         3.1 Network Parameters        
  1344.  
  1345.         The  following  parameters control how KSP-Mail communicates with
  1346.         the rest of the TCP/IP network.  
  1347.  
  1348.  
  1349.         3.1.1 The PC's Host Name      
  1350.  
  1351.         This  is  the network name of the PC that runs your BBS (and thus
  1352.         KSP-Mail).   If  your  BBS  is  implemented by a network of PC's,
  1353.         then each PC should have its own unique host name.  
  1354.  
  1355.                 Example: hostname=bbs 
  1356.  
  1357.         Note  that  the  host  name  does  not  include  the  domain name
  1358.         suffix.   For  example, the hostname of machine '"bbs.ksp.com" is
  1359.         simply "bbs".  
  1360.  
  1361.  
  1362.         3.1.2 The PC's Domain Name      
  1363.  
  1364.         This  is  the  network  name  of the subnet to which your PC (and
  1365.         possibly others) are connected.  
  1366.  
  1367.                 Example: domainslist=ksp.com 
  1368.  
  1369.         Note  that  the  domain  name  does  not  include  the  host name
  1370.         prefix.   For  example, the domain name of machine '"bbs.ksp.com"
  1371.         is "ksp.com".  
  1372.  
  1373.  
  1374.         3.1.3 The PC's IP Address      
  1375.  
  1376.         This is the unique IP address assigned to your PC.  
  1377.  
  1378.                 Example: my_ip=100.2.37.4  
  1379.  
  1380.         Note:  As  an  alternative, you may also set the IP address using
  1381.         an environment variable, as in: 
  1382.  
  1383.                               set ksp-ip=100.2.37.4
  1384.  
  1385.         NOTE:  An  "IP  address"  is  a logical addressing scheme used on
  1386.         TCP/IP  networks  such  as the Internet.  Each computer connected
  1387.         to  the  Internet  is  assigned  a unique IP address.  Your local
  1388.         network  "guru"  or access provider should be able to provide you
  1389.         with the IP addresses you need.   
  1390.  
  1391.  
  1392.  
  1393.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1394.  
  1395.  
  1396.         Oct 02, 1996           KSP-Mail (tm) v3.3                      21
  1397.  
  1398.  
  1399.  
  1400.         IMPORTANT:  The  IP  addresses  given  in  this document are only
  1401.         examples.   Do  NOT  attempt to use them - they will NOT work and
  1402.         your network administrator will probably get VERY upset! 
  1403.  
  1404.  
  1405.         3.1.4 The Name Server's IP Address     
  1406.  
  1407.         This  is  the  unique  IP  address  assigned  to  a  network name
  1408.         nerver.   You  may  specify more than on nameserver by using more
  1409.         than one "nameserver" line.  
  1410.  
  1411.                 Example: nameserver=111.21.108.110 
  1412.  
  1413.         Your  local  network  "guru" or access provider should be able to
  1414.         provide  you  with the proper IP addresses of appropriate network
  1415.         name servers.  
  1416.  
  1417.  
  1418.         3.1.5 The Router's IP Address      
  1419.  
  1420.         This is the unique IP address assigned to the network router.  
  1421.  
  1422.           Syntax: gateway = ipaddr [ , subnet [ , subnet_mask ] ] 
  1423.  
  1424.                 Examples: gateway=129.97.176.1
  1425.                           gateway=129.97.176.2,129.97.0.0
  1426.                           gateway=129.97.176.2,129.97.0.0,255.255.0.0
  1427.  
  1428.         Usually  the  (destination)  subnet  and  subnet mask need not be
  1429.         specified,  and  is  used to create a "default".  The other forms
  1430.         are  used  to  specify  one or more other gateways for particular
  1431.         subnets.  
  1432.  
  1433.         Your  local  network  "guru" or access provider should be able to
  1434.         provide you with the proper IP address of the network router.  
  1435.  
  1436.  
  1437.         3.1.6 The PC's Network Mask      
  1438.  
  1439.         Network  masks  are  used to distinguish destination IP addresses
  1440.         that  are  on  the  local  subnet  from those that are not.  This
  1441.         option may not be required, depending on your network topology.  
  1442.  
  1443.                 Example: netmask=255.255.254.0 
  1444.  
  1445.         Your  local  network  "guru" or access provider should be able to
  1446.         provide you with the proper netmask if needed.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1452.  
  1453.  
  1454.         Oct 02, 1996           KSP-Mail (tm) v3.3                      22
  1455.  
  1456.  
  1457.  
  1458.         3.2 TCP/IP Parameters (optional)       
  1459.  
  1460.         KSP-Mail  will  work  without using the following parameters, but
  1461.         they are provided if you wish to change them.  
  1462.  
  1463.  
  1464.         3.2.1 Maximum Segment Size (MSS)      
  1465.  
  1466.         The  default  value  of  MSS  is  1400.  If you know what maximum
  1467.         segment  size  means  and know what size you want, you can change
  1468.         it: 
  1469.  
  1470.                 Example: mss=512 
  1471.  
  1472.                 Note:  Some  Internet  access  providers  configure their
  1473.                 dial-up  slip  and ppp accounts with a very small segment
  1474.                 size.   You  may  need  to  set mss as low as 212 if your
  1475.                 Internet connection is through such a connection.  
  1476.  
  1477.  
  1478.         3.3 KSP-Mail Parameter Format       
  1479.  
  1480.         The  remaining  parameters in WATTCP.CFG are operating parameters
  1481.         that are specific to KSP-Mail. Each follows the format: 
  1482.  
  1483.                 ksp-mail.<parameter>=<value> 
  1484.  
  1485.         where   <parameter>  and  <value>  are  replaced  by  appropriate
  1486.         strings.  
  1487.  
  1488.         Some  parameters  have  counterparts  in other members of the KSP
  1489.         family   of  network  application  programs.   Rather  than  have
  1490.         multiple  entries  in  the  WATTCP.CFG file for each application,
  1491.         such parameters can be specified globally using the format: 
  1492.  
  1493.                 ksp.<parameter>=<value> 
  1494.  
  1495.         This  global setting can be overridden for a specific application
  1496.         by  using  the  application-specific form at a subsequent line in
  1497.         WATTCP.CFG.  
  1498.  
  1499.  
  1500.         3.4 Enabling and Disabling Processes      
  1501.  
  1502.         Each  process  has  a  corresponding configuration parameter that
  1503.         can  be  used  to  disable  that  process  or  to  report missing
  1504.         parameters required for proper operation: 
  1505.  
  1506.  
  1507.  
  1508.  
  1509.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1510.  
  1511.  
  1512.         Oct 02, 1996           KSP-Mail (tm) v3.3                      23
  1513.  
  1514.  
  1515.                 ksp-mail.import_news_process
  1516.                 ksp-mail.import_mail_process
  1517.                 ksp-mail.export_news_process
  1518.                 ksp-mail.export_mail_process
  1519.                 ksp-mail.command_shell_process
  1520.                 ksp-mail.set_clock_process
  1521.  
  1522.         Any  of these parameters may be set to "disabled" to prevent that
  1523.         process from running.   
  1524.  
  1525.         Setting  a  parameter to "enabled" allows the process to run (the
  1526.         default),   but   also  checks  whether  or  not  all  the  other
  1527.         parameters  necessary  for  proper operation of that process have
  1528.         been provided and reports any that are missing.   
  1529.  
  1530.         The  configuration parameter ksp-mail.import_news_process works a
  1531.         little  differently:  setting  it to "enabled" has no effect, but
  1532.         it  may  be  set  to either "pulled" or "pushed" to check process
  1533.         parameters.  
  1534.  
  1535.  
  1536.         3.5 Required KSP-Mail Parameters       
  1537.  
  1538.         Each  of  the  several  KSP-Mail  services  requires  one or more
  1539.         specific  KSP-Mail parameters to be specified; if any of these is
  1540.         missing,  KSP-Mail  will  still  run, but that particular service
  1541.         will not be provided.  
  1542.  
  1543.         The Mail-In process(es) require that you specify parameter:
  1544.  
  1545.              ksp-mail.mail_directory
  1546.  
  1547.         The Mail-Out process requires that you specify paramaters:
  1548.  
  1549.              ksp-mail.mail_directory
  1550.              ksp-mail.esmtp_server
  1551.  
  1552.         The News-In process requires that you specify at least one parameter:
  1553.  
  1554.              ksp-mail.news_directory
  1555.  
  1556.         If news will be "pulled" rather than "pushed", then you must also
  1557.         specify:
  1558.  
  1559.              ksp-mail.nntp_server
  1560.              ksp-mail.newsgroups 
  1561.              ksp-mail.news_hour
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1568.  
  1569.  
  1570.         Oct 02, 1996           KSP-Mail (tm) v3.3                      24
  1571.  
  1572.  
  1573.         The News-Out process requires that you specify parameters:
  1574.  
  1575.              ksp-mail.nntp_server
  1576.              ksp-mail.news_directory
  1577.  
  1578.         All  other  parameters  are  either  not required or have default
  1579.         values.   However,  you may still need to use one or more of them
  1580.         to configure KSP-Mail properly.  
  1581.  
  1582.  
  1583.         3.6 ESMTP (Mail) Parameters       
  1584.  
  1585.         The  following  configuration  parameters are specific to sending
  1586.         and/or receiving Internet mail.  
  1587.  
  1588.  
  1589.         3.6.1 The Remote Mail Server(s)      
  1590.  
  1591.          Syntax: ksp-mail.esmtp_server=<ip_address> 
  1592.              or: ksp-mail.esmtp_server=<domain_name> 
  1593.  
  1594.         Aliases: ksp-mail.mail_server, 
  1595.              or: ksp-mail.mail_out_server 
  1596.  
  1597.         Example: ksp-mail.esmtp_server=129.295.261.1 
  1598.              or: ksp-mail.esmtp_server=129.295.261.1 
  1599.              or: ksp-mail.esmtp_server=super.man.gov 
  1600.              or: ksp-mail.esmtp_server=super.man.gov 
  1601.  
  1602.         Purpose: Specifies  the  remote  ESMTP/SMTP  server  that accepts
  1603.                  your   outbound   mail   and  routes  it  to  its  final
  1604.                  destination.  
  1605.  
  1606.         Comment: This  parameter  is  required  only  by  Mail-Out.  This
  1607.                  parameter   may   be  repeated  to  specify  alternative
  1608.                  servers  in  the  order of preference.  IP addresses are
  1609.                  preferred   over  domain  names  to  avoid  name  server
  1610.                  lookups at startup.  
  1611.  
  1612.  
  1613.         3.6.2 The UUCP Mail Spool Directory     
  1614.  
  1615.          Syntax: ksp-mail.mail_directory=<path_spec> 
  1616.  
  1617.         Example: ksp-mail.mail_directory=d:\pcb\uucp\spool\mail 
  1618.  
  1619.         Purpose: Specifies  the directory where inbound and outbound UUCP
  1620.                  spool files for mail are located.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1626.  
  1627.  
  1628.         Oct 02, 1996           KSP-Mail (tm) v3.3                      25
  1629.  
  1630.  
  1631.         Comment: This   parameter   is  required  by  both  Mail-Out  and
  1632.                  Mail-In.  
  1633.  
  1634.  
  1635.         3.6.3 Removing the UUCP "From" Line     
  1636.  
  1637.  
  1638.          Syntax: ksp-mail.uucp_from_line=<option> 
  1639.  
  1640.         Example: ksp-mail.uucp_from_line=disabled 
  1641.  
  1642.         Purpose: By  default,  Mail-In writes a uucp-style "From" line in
  1643.                  front  of  the  RFC  header  at  the  beginning of every
  1644.                  e-mail message, as in: 
  1645.  
  1646.                     From tech.support@ksp.com Thu Feb 29 13:52:00 1996
  1647.  
  1648.                  This  non-RFC  line  may  be  eliminated by setting this
  1649.                  option to "disabled".  
  1650.  
  1651.            Note: This  option  is  unrelated to the "From:" line required
  1652.                  as part of every RFC header.  
  1653.  
  1654.         Comment: This  parameter  is optional; if omitted, it defaults to
  1655.                  enabled, and the uucp-style "From" line is included.  
  1656.  
  1657.  
  1658.         3.6.4 Customizing the ESMTP Server's Greeting     
  1659.  
  1660.          Syntax: ksp-mail.esmtp_greeting=<string> 
  1661.  
  1662.         Example: ksp-mail.esmtp_greeting="Greetings from Key Software Products"
  1663.                  ksp-mail.esmtp_greeting="This server now supports ESMTP!"
  1664.  
  1665.         Purpose: Adds  text  to  the  login greeting message presented by
  1666.                  Mail-In  to  the  remote  client.  This parameter may be
  1667.                  repeated for multiple line messages.  
  1668.  
  1669.            Note: Since  the  presence  of  a  space  within  the  text is
  1670.                  likely,  don't  forget  to  surround  everything  to the
  1671.                  right  of  the "=" by a pair of quotation marks as shown
  1672.                  in the example above.  
  1673.  
  1674.         Comment: This  parameter  is  optional.   It  adds text after the
  1675.                  default greeting, which is of the form: 
  1676.  
  1677.                  220 ksp.com ESMTP service via KSP-MAIL v3.3
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1684.  
  1685.  
  1686.         Oct 02, 1996           KSP-Mail (tm) v3.3                      26
  1687.  
  1688.  
  1689.         3.6.5 Mail Forwarding        
  1690.  
  1691.          Syntax: ksp-mail.forwarding=<option> 
  1692.  
  1693.         Example: ksp-mail.forwarding=enabled 
  1694.  
  1695.         Purpose: For  use  with  intelligent  UUCP utilities such as GIGO
  1696.                  that  can  forward  mail addressed to a different domain
  1697.                  name.   If  this  parameter  is enabled, the destination
  1698.                  domain  name  is  compared to that of the local machine;
  1699.                  if  they  match,  only  the  user name is written to the
  1700.                  UUCP  *.X  file,  otherwise the full destination address
  1701.                  (e.g., tech.support@ksp.com) will be written.  
  1702.  
  1703.         Comment: This  parameter is optional; if omitted, the domain name
  1704.                  will never be written to the UUCP *.X file.  
  1705.  
  1706.  
  1707.         3.6.6 Limiting Inbound Message Size      
  1708.  
  1709.          Syntax: ksp-mail.max_message_bytes=<number> 
  1710.  
  1711.         Example: ksp-mail.max_message_bytes=100000 
  1712.  
  1713.         Purpose: To limit the size of inbound email messages.  
  1714.  
  1715.         Comment: This  parameter  is optional; if omitted, the default is
  1716.                  NO  limit  on  inbound  mail message size. Limit applies
  1717.                  total article size, including RFC header.  
  1718.  
  1719.  
  1720.         3.6.7 Sitename alias        
  1721.  
  1722.          Syntax: ksp-mail.sitename_alias=<host.domain> 
  1723.  
  1724.         Example: ksp-mail.sitename_alias=ksp.com 
  1725.  
  1726.         Purpose: To  support  situations  where  the hostname used in the
  1727.                  destination  address  of  mail  sent  to your local site
  1728.                  differs from the actual hostname of the machine.  
  1729.  
  1730.         Comment: This   parameter  is  optional;  if  omitted,  your  the
  1731.                  regular   hostname   defined   by   the  "hostname"  and
  1732.                  "domainslist"     parameters     in    the    WATTCP.CFG
  1733.                  configuration file will be used.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1742.  
  1743.  
  1744.         Oct 02, 1996           KSP-Mail (tm) v3.3                      27
  1745.  
  1746.  
  1747.         3.7 ESMTP (Mail) Mailbox Verification      
  1748.  
  1749.         Mailbox  verification  is  embedded  within three ESMTP commands:
  1750.         RCPT,  VRFY,  and  EXPN.   The  RCPT command is used to specify a
  1751.         recipient  of  an  inbound  email message; the other two commands
  1752.         are  mainly  used  by  systems  administrators  to  diagnose mail
  1753.         delivery problems.   
  1754.  
  1755.         The  VRFY command checks that a mailbox name is that of a user on
  1756.         the  local  BBS.   The EXPN command expands the name of a mailing
  1757.         list  that  resides  on  the local BBS into a list of recipients;
  1758.         this  command  is  only  implemented if one or more mailing lists
  1759.         have been defined in the WATTCP.CFG configuration file.  
  1760.  
  1761.         KSP-Mail  provides  no  default  mailbox  verification.   It will
  1762.         accept  any  mailbox  name as valid unless a verification program
  1763.         is  specified  in WATTCP.CFG (see "ksp-mail.vrfy_program" below).
  1764.         Specifically, if no verification program is specified: 
  1765.  
  1766.             1. The RCPT command will accept any recipient.  
  1767.  
  1768.             2.   The   default   VRFY   response   will   be  a  positive
  1769.             acknowledgement,  but  one  which  indicates  that  it  can't
  1770.             perform a verification.  
  1771.  
  1772.             3.   The   default   EXPN   response  will  be  "Command  not
  1773.             implemented".  
  1774.  
  1775.         If  specified  in  WATTCP.CFG,  KSP-Mail will load and execute an
  1776.         external  program to perform username verification.  This program
  1777.         indicates the result by exiting with a return code: 
  1778.  
  1779.                 0       The username IS valid on the local BBS
  1780.                 1       The username is NOT valid on the local BBS
  1781.                 other   An error occurred during execution
  1782.  
  1783.         If  an error occurs during execution (e.g., can't locate username
  1784.         database),  the  verification  program writes a suitable one-line
  1785.         error   message  (terminated  with  CR,  LF)  to  a  file  called
  1786.         SMTPVRFY.ERR   in  the  current  directory;  KSP-Mail  reads  the
  1787.         contents  of  this file, adds it to its own log, and then deletes
  1788.         the  file.   The  verification  program  outputs  nothing  to the
  1789.         screen.  
  1790.  
  1791.         When  the  verification  program  is  invoked  by  KSP-Mail,  the
  1792.         username  is the only parameter passed on the command line (e.g.,
  1793.         "john.doe");   any   other   site-dependent   information  (e.g.,
  1794.         location  of  user  database)  is provided by other means such as
  1795.         environment   variables  or  configuration  files.   The  use  of
  1796.  
  1797.  
  1798.  
  1799.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1800.  
  1801.  
  1802.         Oct 02, 1996           KSP-Mail (tm) v3.3                      28
  1803.  
  1804.  
  1805.         upper/lower case in the username may vary.  
  1806.  
  1807.  
  1808.         3.7.1 The KSP-VRFY.EXE Verification Program      
  1809.  
  1810.         This   program  creates  and  uses  its  own  (indexed)  username
  1811.         database  from your list of user names.  There are two basic ways
  1812.         to  run the program: "online" (invoked by KSP-Mail) and "offline"
  1813.         (for database maintenance).  The "offline" commands are: 
  1814.  
  1815.         KSP-VRFY /BUILD <filespec> 
  1816.  
  1817.              E.g., "KSP-VRFY /BUILD C:\TEMP\USERNAME.TXT" 
  1818.  
  1819.              Builds   a   file   called  "USERNAME.IDX"  in  the  current
  1820.              directory,  using  data  taken from the ASCII file specified
  1821.              on the command line.  
  1822.  
  1823.              The  input file contains one username per line.  Upper/lower
  1824.              case  doesn't  matter.   Spaces  within  the  name  will  be
  1825.              replaced by periods.  
  1826.  
  1827.         KSP-VRFY /ADD <username> 
  1828.  
  1829.              E.g., "KSP-VRFY /ADD John Smith" 
  1830.  
  1831.              Adds  a  name  to  USERNAME.IDX.   Username  may contain any
  1832.              number of spaces.  Upper/Lower case does not matter.  
  1833.  
  1834.         KSP-VRFY /DEL <username> 
  1835.  
  1836.              E.g., "KSP-VRFY /DEL John Smith" 
  1837.  
  1838.              Deletes  a name from USERNAME.IDX.  Username may contain any
  1839.              number of spaces.  Upper/Lower case does not matter.  
  1840.  
  1841.         KSP-VRFY /FIND <username> 
  1842.  
  1843.              E.g., "KSP-VRFY /FIND John Smith" 
  1844.  
  1845.              Prints  message  on  screen  indicating  whether  or not the
  1846.              specified   username   is   present  in  the  database  file
  1847.              USERNAME.IDX.  
  1848.  
  1849.         KSP-VRFY /PACK 
  1850.  
  1851.              Packs  the  database after a number of username entries have
  1852.              been deleted.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1858.  
  1859.  
  1860.         Oct 02, 1996           KSP-Mail (tm) v3.3                      29
  1861.  
  1862.  
  1863.  
  1864.         3.7.2 The PCB-VRFY.EXE Verification Program      
  1865.  
  1866.         This  program is a PCBoard-specific replacement for KSP-VRFY that
  1867.         reads  the  username  database  of PCBoard directly.  It requires
  1868.         merely  that  an  environment  variable called "PCBDAT" be set to
  1869.         the filespec of (any one of) your PCBOARD.DAT file(s).  E.g., 
  1870.  
  1871.                        set pcbdat=c:\pcb\node1\pcboard.dat
  1872.  
  1873.         Note:  Even  if you do NOT use Clark Development's UUCP utilities
  1874.         (UUIN/UUOUT)  to  import/export mail, PCB-VRFY will still use the
  1875.         name  separator  (normally  ".") specified in the UUCP portion of
  1876.         PCBSetUp.   PCB-VRFY  also looks in the UUCP Base Path for a file
  1877.         called  ALIAS.IN;  if  found, PCB-VRFY will use it to translate a
  1878.         mailbox alias to a user name.  
  1879.  
  1880.  
  1881.         3.7.3 Specifying Mailboxes to Verify (RCPT)     
  1882.  
  1883.          Syntax: ksp-mail.check_recipients_at=<host.domain> 
  1884.  
  1885.         Example: ksp-mail.check_recipients_at=ksp.com 
  1886.  
  1887.         Purpose: Attempts  to  deliver  mail to mailboxes at sitenames in
  1888.                  this  list  will  be  checked to see if the mailbox is a
  1889.                  valid username or mailing list.  
  1890.  
  1891.         Comment: This  parameter  is  optional;  by default, the sitename
  1892.                  list  already includes the normal machine name specified
  1893.                  by  "hostname" and "domainslist" in WATTCP.CFG, plus any
  1894.                  alias   specified  by  "ksp-mail.sitename_alias".   This
  1895.                  parameter may be repeated to allow multiple sitenames.  
  1896.  
  1897.  
  1898.         3.7.4 Specifying the Verification Program      
  1899.  
  1900.          Syntax: ksp-mail.vrfy_program=<filespec> 
  1901.  
  1902.         Example: ksp-mail.vrfy_program=KSP-VRFY.EXE 
  1903.  
  1904.         Purpose: This  parameter  specifies  the  program  to be used for
  1905.                  username verification.  
  1906.  
  1907.         Comment: This parameter is optional.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1916.  
  1917.  
  1918.         Oct 02, 1996           KSP-Mail (tm) v3.3                      30
  1919.  
  1920.  
  1921.         3.7.5 Mailing List Expansion (EXPN)      
  1922.  
  1923.          Syntax: ksp-mail.mailing_list=<filespec> 
  1924.  
  1925.         Example: ksp-mail.mailing_list=c:\ksp\customer.lst 
  1926.  
  1927.         Purpose: Specifies  the  name  of a mailing list used by the EXPN
  1928.                  command.  
  1929.  
  1930.         Comment: This  parameter  is  optional;  if  omitted,  the "EXPN"
  1931.                  command   will  be  rejected.   This  parameter  may  be
  1932.                  repeated for multiple mailing lists.  
  1933.  
  1934.                  The  first  eight  characters  of  the mailing list name
  1935.                  must  match  the  filename  ("customer"  in  the example
  1936.                  above);   the   text  file  contains  a  list  of  local
  1937.                  usernames  or  Internet  style  email addresses, one per
  1938.                  line.  
  1939.  
  1940.  
  1941.         3.8 NNTP (News) Parameters       
  1942.  
  1943.         The  following  configuration  parameters are specific to sending
  1944.         and/or receiving Usenet news.  
  1945.  
  1946.  
  1947.         3.8.1 The Remote News Server(s)      
  1948.  
  1949.          Syntax:
  1950.         ksp-mail.nntp_server=<ip_address>[,<username>,<password>] 
  1951.              or:
  1952.         ksp-mail.nntp_server=<domain_name>[,<username>,<password>] 
  1953.  
  1954.         Aliases: ksp-mail.news_server, 
  1955.              or: ksp-mail.news_out_server, 
  1956.              or: ksp-mail.news_in_server, 
  1957.  
  1958.         Example: ksp-mail.nntp_server=134.121.2.54 
  1959.              or: ksp-mail.nntp_server=134.121.2.54,kspbbs,mypassword 
  1960.              or: ksp-mail.nntp_server=fountain.com 
  1961.              or: ksp-mail.nntp_server=fountain.com,kspbbs,mypassword 
  1962.  
  1963.         Purpose: Specifies   a  remote  NNTP  server.   Required  by  the
  1964.                  News-Out  process  (and  the  News-In process if inbound
  1965.                  news  is  pulled).   Different  servers can be specified
  1966.                  for  News-In  and  News-Out  by using the alias forms of
  1967.                  the command parameter name.  
  1968.  
  1969.         Comment: This  parameter  may  be repeated to specify alternative
  1970.  
  1971.  
  1972.  
  1973.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  1974.  
  1975.  
  1976.         Oct 02, 1996           KSP-Mail (tm) v3.3                      31
  1977.  
  1978.  
  1979.                  NNTP  servers  in the order of preference.  IP addresses
  1980.                  are  preferred  over  domain  names to avoid name server
  1981.                  lookups at startup.  
  1982.  
  1983.            Note: The  optional "<username>,<password>" information may be
  1984.                  appended  if  this  NNTP  server  requires the client to
  1985.                  login  with  the  AUTHINFO  command.   If  blanks appear
  1986.                  within  either <username> or <password>, then everything
  1987.                  after  the  "="  sign  must  be  surrounded by a pair of
  1988.                  quotation marks.  
  1989.  
  1990.  
  1991.         3.8.2 The UUCP News Spool Directory     
  1992.  
  1993.          Syntax: ksp-mail.news_directory=<path_spec> 
  1994.  
  1995.         Example: ksp-mail.news_directory=d:\pcb\uucp\spool\news 
  1996.  
  1997.         Purpose: Specifies  the directory where inbound and outbound UUCP
  1998.                  spool files for Usenet news are located.  
  1999.  
  2000.         Comment: This  parameter  is  required  by  both  the News-In and
  2001.                  News-Out processes.  
  2002.  
  2003.  
  2004.         3.8.3 News Import Scheduling       
  2005.  
  2006.          Syntax: ksp-mail.news_hour=<hour(s)>[,<hour(s)> ... ,<hour(s)>] 
  2007.           Where: <hour(s)> = <number> | <number> '-' <number 
  2008.  
  2009.         Example: ksp-mail.news_hour=21 
  2010.                  ksp-mail.news_hour=0-4,6,12,18,20-23 
  2011.  
  2012.         Purpose: Specifies   what   hour(s)  of  the  day  news  will  be
  2013.                  retrieved; retrieval starts on the hour.  
  2014.  
  2015.         Comment: If  News-In "pulls" news, this parameter is required. If
  2016.                  news  is "pushed" by a news feed, then this parameter is
  2017.                  optional  and  determines  what hours of the day News-In
  2018.                  will  run  as an NNTP server; otherwise News-In will run
  2019.                  as  an  NNTP  server 24 hours a day.  This parameter may
  2020.                  be  used more than once to specify multiple hours in the
  2021.                  day.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2032.  
  2033.  
  2034.         Oct 02, 1996           KSP-Mail (tm) v3.3                      32
  2035.  
  2036.  
  2037.         3.8.4 Specifying Newsgroups (and Import Method)     
  2038.  
  2039.          Syntax: ksp-mail.newsgroups=<filespec>[,sort] 
  2040.  
  2041.         Example: ksp-mail.newsgroups=c:\ksp\ksp-mail\newsgrps.lst 
  2042.              or: ksp-mail.newsgroups=c:\ksp\ksp-mail\newsgrps.lst,sort 
  2043.  
  2044.         Purpose: If  this  parameter  is  omitted, News-In will run as an
  2045.                  NNTP  server,  waiting  for new news to be "pushed" by a
  2046.                  remote  client.  Otherwise, News-In will act as a client
  2047.                  and  "pull"  news  from  a  remote  NNTP server.  In the
  2048.                  latter   case,   this  parameter  specifies  a  list  of
  2049.                  newsgroups  to  be imported and the most recent date and
  2050.                  time of import for each group, one per line.   
  2051.  
  2052.                  The format of each line is: 
  2053.  
  2054.                          <YYMMDD> <HHMMSS> <Newsgroup_Name> 
  2055.  
  2056.                  Where  "<YYMMDD>"  and "<HHMMSS>" are each a sequence of
  2057.                  six  digits  specifying  the  GMT  (not local!) date and
  2058.                  time (respectively) of the last retrieval, as in: 
  2059.  
  2060.                          951003 120000 alt.bbs.pcboard 
  2061.  
  2062.                  If  these first two fields are all zeroes, KSP-Mail will
  2063.                  retrieve  all  articles  posted  within the preceding 24
  2064.                  hours.  
  2065.  
  2066.                  If  ",sort"  is  added after the filename, KSP-Mail will
  2067.                  sort  the list before retrieving news so that the oldest
  2068.                  news  will  be  retrieved  first.   In  addition, if the
  2069.                  execution  of  any  external  import/export  programs is
  2070.                  pending,  then  news  retrieval will be suspended at the
  2071.                  end  of  the current group, the external program will be
  2072.                  executed, and then news retrieval resumed.  
  2073.  
  2074.         Comment: This  parameter is required by only the News-In process,
  2075.                  and  only  if news is "pulled" rather than "pushed".  It
  2076.                  replaces   the   old   "newsgroup"   (no  trailing  's')
  2077.                  parameter,  and  no longer supports "wild cards ('*') in
  2078.                  the newsgroup names.  
  2079.  
  2080.         Comment: If  you  create  an  entry  where the newsgroup name has
  2081.                  been  replaced by the IP address of your NNTP server, as
  2082.                  in: 
  2083.  
  2084.                          000000 000000 137.168.1.1 
  2085.  
  2086.  
  2087.  
  2088.  
  2089.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2090.  
  2091.  
  2092.         Oct 02, 1996           KSP-Mail (tm) v3.3                      33
  2093.  
  2094.  
  2095.                  then  KSP-Mail  will record new newsgroups whenever they
  2096.                  are  created  on the server!  The list of new newsgroups
  2097.                  will  be added to the end of a file called GROUPS.NEW in
  2098.                  the        same       directory       specified       by
  2099.                  ksp-mail.newsgroupslist.   If  you  have  multiple  NNTP
  2100.                  servers,  just  create one line for each server with the
  2101.                  corresponding IP address.  
  2102.  
  2103.         PCBoard: A  utility  program for PCBoard BBSs called PCB-GRPS.EXE
  2104.                  is  included  in  the  distribution  file;  it reads the
  2105.                  CNAMES.@@@  and  CNAMES.ADD  files and outputs a list of
  2106.                  newsgroups  to  the  screen.   Redirect  its output to a
  2107.                  file   for   use   with  this  configuration  parameter.
  2108.                  PCB-GRPS  requires  one command line parameter, which is
  2109.                  the filespec of either of the CNAMES files.  
  2110.  
  2111.  
  2112.         3.8.5 Limiting Size of the POSTED.IDX File    
  2113.  
  2114.          Syntax: ksp-mail.max_article_days=<days> 
  2115.  
  2116.         Example: ksp-mail.max_article_days=7 
  2117.  
  2118.  
  2119.                  Purpose:  KSP-Mail  records  the  article  ID's of those
  2120.                  news  articles which have already been imported, so that
  2121.                  duplicates  will  not  be imported.  These ID's are kept
  2122.                  in  a file called "POSTED.IDX".  After each news import,
  2123.                  KSP-Mail  removes  ID's  from  this file if their age is
  2124.                  older  than  the  oldest  newsgroup import, but no older
  2125.                  than  the  value  set  by this parameter.  KSP-Mail does
  2126.                  this   by   loading   and   executing   a   file  called
  2127.                  KSP-PACK.EXE.  
  2128.  
  2129.         Comment: Used  only  with  the "pulled" method of news retrieval.
  2130.                  This parameter is optional; default value is 7 days.  
  2131.  
  2132.  
  2133.         3.8.6 Specifying Timeout for NEWNEWS Command     
  2134.  
  2135.          Syntax: ksp-mail.newnews_timeout=<seconds> 
  2136.  
  2137.         Example: ksp-mail.newnews_timeout=300 
  2138.  
  2139.         Purpose: Used  only  with  the  "pull"  method of news retrieval.
  2140.                  Specifies  the  amount  of  time that KSP-Mail will wait
  2141.                  for  a  response  to the NEWNEWS command when asking for
  2142.                  the list of new articles posted to a newsgroup.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2148.  
  2149.  
  2150.         Oct 02, 1996           KSP-Mail (tm) v3.3                      34
  2151.  
  2152.  
  2153.         Comment: This   parameter  is  optional;  default  value  is  300
  2154.                  seconds.  
  2155.  
  2156.  
  2157.         3.8.7 Preventing Feedback        
  2158.  
  2159.          Syntax: ksp-mail.news_filter=<your_site_name> 
  2160.  
  2161.         Example: ksp-mail.news_filter=ksp.com 
  2162.  
  2163.         Purpose: When  news  is  retrieved from an NNTP server, you don't
  2164.                  want  to  retrieve  those  articles that originated from
  2165.                  your  own  BBS.   To  prevent  this "feedback", KSP-Mail
  2166.                  looks  at  the  "From:"  line  in the header of the news
  2167.                  article  and  discards the article if the domain name in
  2168.                  the  Internet  address  matches  that  of your BBS.  For
  2169.                  this  to  work properly, exported news postings must use
  2170.                  the  domain  name  style of addressing in the From: line
  2171.                  of the header, as in "john.doe@bbs.ksp.com".  
  2172.  
  2173.         Comment: This  parameter  is optional; if omitted, a default news
  2174.                  filter  is  constructed  by concatenating the WATTCP.CFG
  2175.                  values  specified for "hostname" and "domainslist".  For
  2176.                  example,  with hostname=bbs and domainslist=ksp.com, the
  2177.                  default news filter will be "bbs.ksp.com".  
  2178.  
  2179.  
  2180.         3.8.8 UUCP News File Format      
  2181.  
  2182.          Syntax: ksp-mail.batch_news=<option> 
  2183.  
  2184.         Example: ksp-mail.batch_news=disabled 
  2185.  
  2186.         Purpose: By  default,  KSP-Mail  writes UUCP spool files for news
  2187.                  in  the  uncompressed  batch  format.  If you prefer the
  2188.                  uncompressed   and   unbatched   format,   include  this
  2189.                  configuration  parameter as shown in the example.  There
  2190.                  is  no  option  to  write  these  files  in a compressed
  2191.                  format.  
  2192.  
  2193.         Comment: This  parameter is optional; if used, the only option is
  2194.                  "disabled".  
  2195.  
  2196.  
  2197.         3.8.9 Limiting Inbound Article Size      
  2198.  
  2199.          Syntax: ksp-mail.max_article_bytes=<number> 
  2200.  
  2201.         Example: ksp-mail.max_article_bytes=100000 
  2202.  
  2203.  
  2204.  
  2205.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2206.  
  2207.  
  2208.         Oct 02, 1996           KSP-Mail (tm) v3.3                      35
  2209.  
  2210.  
  2211.  
  2212.         Purpose: To limit the size of inbound news articles.  
  2213.  
  2214.         Comment: This  parameter  is optional; if omitted, the default is
  2215.                  NO  limit  on  inbound news article size.  Limit applies
  2216.                  total article size, including RFC header.  
  2217.  
  2218.  
  2219.         3.9 Command Process Parameters       
  2220.  
  2221.         There  are  several  configuration  parameters  that  control how
  2222.         KSP-Mail runs external programs.   
  2223.  
  2224.         Most   external   programs   are   UUCP   utility   programs   to
  2225.         import/export  mail  and news between the BBS message base(s) and
  2226.         the  UUCP  spool  files.   If you prefer to do this on a separate
  2227.         machine  or  in a DESQview window, then you may omit all of these
  2228.         configuration parameters from your WATTCP.CFG file.  
  2229.  
  2230.         However,  KSP-Mail  also  executes  some  other external programs
  2231.         such  as KSP-SORT.EXE, KSP-TRIM.EXE, and KSP-VRFY.EXE.  Execution
  2232.         of  all  external  programs  is  affected  by  the setting of the
  2233.         configuration parameter "ksp-mail.dont_swap_to" (see below).  
  2234.  
  2235.  
  2236.         3.9.1 Memory Swapping        
  2237.  
  2238.         KSP-Mail  normally  tries  to  make  as  much memory available as
  2239.         possible  to run an external command.  It does this by saving its
  2240.         own  memory  image,  shrinking  down to a small stub, running the
  2241.         command,  and  then  restoring  its memory image.  KSP-Mail tries
  2242.         first  to save its image in XMS memory, then EMS memory, and as a
  2243.         disk  file  as a last resort.  This command allows you to disable
  2244.         one or more of these options.  
  2245.  
  2246.          Syntax: ksp-mail.dont_swap_to=<storage_type> 
  2247.  
  2248.         Example: ksp-mail.dont_swap_to=xms 
  2249.  
  2250.         Purpose: Options  that  may  be  disabled  are  "xms", "ems", and
  2251.                  "disk".  
  2252.  
  2253.         Comment: If  all  three  options are disabled, then KSP-Mail will
  2254.                  not  swap  itself  out  of  memory  while  the  external
  2255.                  command is executed.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2264.  
  2265.  
  2266.         Oct 02, 1996           KSP-Mail (tm) v3.3                      36
  2267.  
  2268.  
  2269.         3.9.2 Exporting Mail: The UUCP Command Line    
  2270.  
  2271.          Syntax: ksp-mail.export_mail_command=<command_line> 
  2272.  
  2273.           Alias: ksp-mail.bbsmail2uucp_command 
  2274.  
  2275.         Example: ksp-mail.export_mail_command=uuout 
  2276.              or: ksp-mail.export_mail_command="uuout -c 5" 
  2277.  
  2278.         Purpose: Specifies  the  command  that exports Internet mail from
  2279.                  the BBS message base to a UUCP spool directory.  
  2280.  
  2281.         Comment: Optional.   If  the  command  line  text contains one or
  2282.                  more  spaces, the entire command line must be surrounded
  2283.                  by quotation marks (see above example).  
  2284.  
  2285.  
  2286.         3.9.3 Exporting Mail: Scheduling the Command     
  2287.  
  2288.          Syntax: ksp-mail.export_mail_seconds=<seconds> 
  2289.  
  2290.           Alias: ksp-mail.bbsmail2uucp_seconds 
  2291.  
  2292.         Example: ksp-mail.export_mail_seconds=300 
  2293.  
  2294.         Purpose: Specifies  how  frequently  the export_mail command will
  2295.                  be executed.  
  2296.  
  2297.         Comment: Has  no  effect  is  no  command  is specified.  Default
  2298.                  period is 60 seconds.  
  2299.  
  2300.  
  2301.         3.9.4 Exporting Mail: Expediting the Command     
  2302.  
  2303.          Syntax: ksp-mail.export_mail_trigger=<seconds>,<filespec> 
  2304.  
  2305.           Alias: ksp-mail.bbsmail2uucp_trigger 
  2306.  
  2307.         Example: ksp-mail.export_mail_trigger=60,c:\pcb\i-email\msgs 
  2308.  
  2309.         Purpose: Specifies  the  name  of  the  BBS message base file for
  2310.                  Internet  mail  and how frequently KSP-Mail should check
  2311.                  its  size.  If growth is detected, KSP-Mail assumes that
  2312.                  new  outbound  mail  has  been  posted  and will run the
  2313.                  export_mail command.  
  2314.  
  2315.         Comment: Has  no  effect if no command is specified.  If used, it
  2316.                  will  also  trigger  the  export_mail  command  when new
  2317.                  inbound  mail  is  posted  to the message base, but this
  2318.  
  2319.  
  2320.  
  2321.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2322.  
  2323.  
  2324.         Oct 02, 1996           KSP-Mail (tm) v3.3                      37
  2325.  
  2326.  
  2327.                  should  have  no  detrimental  effect.  Resets the timer
  2328.                  associated with export_mail_seconds.  
  2329.  
  2330.  
  2331.  
  2332.         3.9.5 Importing Mail: The UUCP Command Line    
  2333.  
  2334.          Syntax: ksp-mail.import_mail_command=<command_line> 
  2335.  
  2336.           Alias: ksp-mail.uucp2bbsmail_command 
  2337.  
  2338.         Example: ksp-mail.import_mail_command=uuin 
  2339.              or: ksp-mail.import_mail_command="uuin -s mail" 
  2340.  
  2341.         Purpose: Specifies  the  command  that  imports  mail from a UUCP
  2342.                  spool  directory  to  the  BBS message base for Internet
  2343.                  mail.  
  2344.  
  2345.         Comment: Optional.   If  the  command  line  text contains one or
  2346.                  more  spaces, the entire command line must be surrounded
  2347.                  by quotation marks (see above example).  
  2348.  
  2349.  
  2350.         3.9.6 Importing Mail: Scheduling the Command     
  2351.  
  2352.          Syntax: ksp-mail.import_mail_seconds=<seconds> 
  2353.  
  2354.           Alias: ksp-mail.uucp2bbsmail_seconds 
  2355.  
  2356.         Example: ksp-mail.import_mail_seconds=300 
  2357.  
  2358.         Purpose: Specifies  how  frequently  the import_mail command will
  2359.                  be executed.  
  2360.  
  2361.         Comment: Has  no  effect  is  no  command  is specified.  Default
  2362.                  period is 60 seconds.  
  2363.  
  2364.  
  2365.         3.9.7 Importing Mail: Expediting the Command     
  2366.  
  2367.          Syntax: ksp-mail.import_mail_trigger=<option> 
  2368.  
  2369.           Alias: ksp-mail.uucp2bbsmail_trigger 
  2370.  
  2371.         Example: ksp-mail.import_mail_trigger=on_arrival 
  2372.  
  2373.         Purpose: Specifies  that  KSP-Mail should execute the import_mail
  2374.                  command  immediately  after writing the mail to the UUCP
  2375.                  spool directory.  
  2376.  
  2377.  
  2378.  
  2379.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2380.  
  2381.  
  2382.         Oct 02, 1996           KSP-Mail (tm) v3.3                      38
  2383.  
  2384.  
  2385.  
  2386.         Comment: The only option allowed is "on_arrival".  
  2387.  
  2388.  
  2389.         3.9.8 Exporting News: The UUCP Command Line    
  2390.  
  2391.          Syntax: ksp-mail.export_news_command=<command_line> 
  2392.  
  2393.           Alias: ksp-mail.bbsnews2uucp_command 
  2394.  
  2395.         Example: ksp-mail.export_news_command=uuout 
  2396.              or: ksp-mail.export_news_command="uuout -c 5" 
  2397.  
  2398.         Purpose: Specifies  the  command  that exports news postings from
  2399.                  the BBS message base to a UUCP spool directory.  
  2400.  
  2401.         Comment: Optional.   If  the  command  line  text contains one or
  2402.                  more  spaces, the entire command line must be surrounded
  2403.                  by quotation marks (see above example).  
  2404.  
  2405.  
  2406.         3.9.9 Exporting News: Scheduling the Command     
  2407.  
  2408.          Syntax: ksp-mail.export_news_seconds=<seconds> 
  2409.  
  2410.           Alias: ksp-mail.bbsnews2uucp_seconds 
  2411.  
  2412.         Example: ksp-mail.export_news_seconds=300 
  2413.  
  2414.         Purpose: Specifies  how  frequently  the export_mail command will
  2415.                  be executed.  
  2416.  
  2417.         Comment: Has  no  effect  if  no  command  is specified.  Default
  2418.                  period is 60 seconds.  
  2419.  
  2420.  
  2421.         3.9.10 Importing News: The UUCP Command Line    
  2422.  
  2423.          Syntax: ksp-mail.import_news_command=<command_line> 
  2424.  
  2425.           Alias: ksp-mail.uucp2bbsnews_command 
  2426.  
  2427.         Example: ksp-mail.import_news_command=uuin 
  2428.              or: ksp-mail.import_news_command="uuin -s news" 
  2429.  
  2430.         Purpose: Specifies  the command that imports messages from a UUCP
  2431.                  spool  directory  to  the  BBS  message  base for Usenet
  2432.                  news.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2438.  
  2439.  
  2440.         Oct 02, 1996           KSP-Mail (tm) v3.3                      39
  2441.  
  2442.  
  2443.         Comment: Optional.   If  the  command  line  text contains one or
  2444.                  more  spaces, the entire command line must be surrounded
  2445.                  by quotation marks (see above example).  
  2446.  
  2447.  
  2448.  
  2449.         3.9.11 Importing News: Expediting the Command     
  2450.  
  2451.          Syntax: ksp-mail.import_news_trigger=on_arrival 
  2452.  
  2453.           Alias: ksp-mail.uucp2bbsnews_trigger 
  2454.  
  2455.         Example: ksp-mail.import_news_trigger=on_arrival 
  2456.  
  2457.         Purpose: Specifies  that  KSP-Mail should execute the import_news
  2458.                  command  immediately  after writing the news to the UUCP
  2459.                  spool directory.  
  2460.  
  2461.         Comment: The only option allowed is "on_arrival".  
  2462.  
  2463.  
  2464.         3.10 Set-Clock Parameters        
  2465.  
  2466.         The  following  configuration  parameters  apply to the Set-Clock
  2467.         thread.  
  2468.  
  2469.  
  2470.         3.10.1 The Remote Time Server(s)      
  2471.  
  2472.          Syntax: ksp-mail.time_server=<ip_address | domain_name> 
  2473.  
  2474.         Example: ksp-mail.time_server=129.295.261.1 
  2475.                  ksp-mail.time_server=time.nist.gov 
  2476.  
  2477.         Purpose: Specifies  the  remote  time  server that is used to set
  2478.                  the time and date on the KSP-Mail machine.  
  2479.  
  2480.         Comment: This  parameter  is  required  only  by  Set-Time.  This
  2481.                  parameter   may   be  repeated  to  specify  alternative
  2482.                  servers  in  the  order of preference.  IP addresses are
  2483.                  preferred   over  domain  names  to  avoid  name  server
  2484.                  lookups at startup.  
  2485.  
  2486.  
  2487.         3.10.2 How Often the Clock is Set    
  2488.  
  2489.          Syntax: ksp-mail.set_clock_hours=<hours> 
  2490.  
  2491.         Example: ksp-mail.set_clock_hours=12 
  2492.  
  2493.  
  2494.  
  2495.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2496.  
  2497.  
  2498.         Oct 02, 1996           KSP-Mail (tm) v3.3                      40
  2499.  
  2500.  
  2501.  
  2502.         Purpose: Specifies  how  often  KSP-Mail contacts the remote time
  2503.                  server to set the local time and date.  
  2504.  
  2505.                  Comment: Default is once every 24 hours.  
  2506.  
  2507.  
  2508.         3.11 Other Parameters        
  2509.  
  2510.         The  following  configuration  parameters  apply to both mail and
  2511.         news.  
  2512.  
  2513.  
  2514.         3.11.1 Server Timeout        
  2515.  
  2516.          Syntax: ksp-mail.server_timeout=<seconds> 
  2517.  
  2518.         Example: ksp-mail.server_timeout=600 
  2519.  
  2520.         Purpose: Determines  the  maximum  time a KSP-Mail server process
  2521.                  will  wait  for  a  command  when  connected to a remote
  2522.                  client.   When  this  time limit expires, the connection
  2523.                  is aborted.  Used by Mail-In and (pushed) News-In.  
  2524.  
  2525.         Comment: This  parameter  is  optional;  if  ommitted, the server
  2526.                  timeout defaults to 300 seconds (5 minutes).  
  2527.  
  2528.  
  2529.         3.11.2 Client Timeout        
  2530.  
  2531.          Syntax: ksp-mail.client_timeout=<seconds> 
  2532.  
  2533.         Example: ksp-mail.client_timeout=600 
  2534.  
  2535.         Purpose: Determines  the  maximum  time a KSP-Mail client process
  2536.                  will  wait  for  a  response  when connected to a remote
  2537.                  server.   When  this  time limit expires, the connection
  2538.                  is   aborted.   Used  by  Mail-Out,  News-Out,  (pulled)
  2539.                  News-In, and Set-Clock.  
  2540.  
  2541.         Comment: This  parameter  is  optional;  if  ommitted, the client
  2542.                  timeout defaults to 300 seconds (5 minutes).  
  2543.  
  2544.  
  2545.         3.11.3 Close Timeout        
  2546.  
  2547.          Syntax: ksp-mail.close_timeout=<seconds> 
  2548.  
  2549.         Example: ksp-mail.close_timeout=10 
  2550.  
  2551.  
  2552.  
  2553.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2554.  
  2555.  
  2556.         Oct 02, 1996           KSP-Mail (tm) v3.3                      41
  2557.  
  2558.  
  2559.  
  2560.         Purpose: Determines   the   maximum   time  allowed  to  close  a
  2561.                  connection  with  a  remote  host.  When this time limit
  2562.                  expires, KSP-Mail simply aborts the connection.  
  2563.  
  2564.         Comment: This  parameter  is  optional;  if  ommitted,  the close
  2565.                  timeout defaults to 10 seconds.  
  2566.  
  2567.  
  2568.         3.11.4 Retrieving Hostnames        
  2569.  
  2570.          Syntax: ksp-mail.retrieve_hostnames=<option> 
  2571.  
  2572.         Example: ksp-mail.retrieve_hostnames=enabled 
  2573.  
  2574.         Purpose: If  enabled,  IP  addresses  of  remote  hosts  will  be
  2575.                  translated  into  hostnames using the domain name server
  2576.                  to  provide  a  reliable  identification  of  the remote
  2577.                  host.   Otherwise,  only  IP  addresses  will  be  used.
  2578.                  Affects both the display and the log files.  
  2579.  
  2580.         Comment: Default  is  disabled.  No other processes can run while
  2581.                  doing  a  DNS  lookup;  this  usually  isn't  a  problem
  2582.                  because  translation  of  IP addresses into domain names
  2583.                  is  normally  quite  fast  and  only  occurs once when a
  2584.                  connection is established.  
  2585.  
  2586.  
  2587.         3.11.5 Checking for Outbound Mail and News    
  2588.  
  2589.          Syntax: ksp-mail.outbound_check_seconds=<seconds> 
  2590.  
  2591.         Example: ksp-mail.outbound_check_seconds=10 
  2592.  
  2593.         Purpose: Specifies  how  often  KSP-Mail  checks  the  UUCP spool
  2594.                  directories for outbound news and mail.  
  2595.  
  2596.         Comment: Default is once every 5 seconds.  
  2597.  
  2598.  
  2599.         3.11.6 Triggering an Exit       
  2600.  
  2601.          Syntax: ksp-mail.exit_spec=<filespec>[,<seconds>] 
  2602.  
  2603.         Example: ksp-mail.exit_spec=c:\ksp\ksp-exit.*,5 
  2604.  
  2605.         Purpose: If  a file matching <filespec> is created while KSP-Mail
  2606.                  is  running,  the  file will be deleted and then as soon
  2607.                  as  KSP-Mail  reaches  a stable state, it will exit with
  2608.  
  2609.  
  2610.  
  2611.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2612.  
  2613.  
  2614.         Oct 02, 1996           KSP-Mail (tm) v3.3                      42
  2615.  
  2616.  
  2617.                  an   error   code  given  by  the  three-digit  filename
  2618.                  extension  of  the matching file.  The <filespec> string
  2619.                  may contain wildcards.   
  2620.  
  2621.         Comment: This  parameter  is optional; The <seconds> subparameter
  2622.                  specifies  how  frequently  the check for file existence
  2623.                  is  made; if not specified, it defaults to once every 10
  2624.                  seconds.  
  2625.  
  2626.  
  2627.         3.11.7 Retry After Server Timeout      
  2628.  
  2629.          Syntax: ksp-mail.outbound_retry_seconds=<seconds> 
  2630.  
  2631.         Example: ksp-mail.outbound_retry_seconds=3600 
  2632.  
  2633.         Purpose: If  a timeout occurs while waiting on a remote server to
  2634.                  respond,  this  parameter  specifies  how  long to delay
  2635.                  before trying that server again.  
  2636.  
  2637.         Comment: Default   is   600   seconds   (10   minutes)  or  twice
  2638.                  ksp-mail.outbound_check_seconds, whichever is greater.  
  2639.  
  2640.  
  2641.         3.11.8 Avoiding File Sharing Violations      
  2642.  
  2643.          Syntax: ksp-mail.share_delay_seconds=<seconds> 
  2644.  
  2645.         Example: ksp-mail.share_delay_seconds=10 
  2646.  
  2647.         Purpose: Used  to  eliminate  file sharing violations.  Specifies
  2648.                  how  long  KSP-Mail  delays before reading outbound UUCP
  2649.                  files   once   they   have   been  found  in  the  spool
  2650.                  directory.  
  2651.  
  2652.         Comment: Default is 0 seconds.  
  2653.  
  2654.  
  2655.         3.11.9 Sequence Naming of UUCP Files     
  2656.  
  2657.          Syntax: ksp-mail.sequence_file=<filespec> 
  2658.  
  2659.         Example: ksp-mail.sequence_file=d:\pcb\uucp\ksp-mail.seq 
  2660.  
  2661.         Purpose: Specifies  the  location where the sequence file will be
  2662.                  kept.   This  file controls the naming algorithm used to
  2663.                  create inbound UUCP spool files for mail and news.  
  2664.  
  2665.         Comment: This  parameter is optional; if omitted, a sequence file
  2666.  
  2667.  
  2668.  
  2669.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2670.  
  2671.  
  2672.         Oct 02, 1996           KSP-Mail (tm) v3.3                      43
  2673.  
  2674.  
  2675.                  will  automatically  be  created  in  the same directory
  2676.                  where KSP-MAIL.EXE is located.  
  2677.  
  2678.  
  2679.         3.11.10 Silencing the Console Bell      
  2680.  
  2681.          Syntax: ksp-mail.local_bell=<option> 
  2682.  
  2683.         Example: ksp-mail.local_bell=disabled 
  2684.  
  2685.         Purpose: Prevents  KSP-Mail  from  ringing the bell when an error
  2686.                  occurs.  
  2687.  
  2688.         Comment: This  parameter is optional; if used, the only option is
  2689.                  "disabled".  
  2690.  
  2691.  
  2692.         3.11.11 The Log File Directory      
  2693.  
  2694.          Syntax: ksp-mail.log_directory=<directory_spec> 
  2695.  
  2696.         Example: ksp-mail.log_directory=d:\pcb\uucp\logs 
  2697.  
  2698.         Purpose: Specifies  the directory where the process logs (if any)
  2699.                  will   be  stored.   These  files  include  MAIL-IN1.LOG
  2700.                  through    MAIL-IN4.LOG,    MAIL-OUT.LOG,   NEWS-IN.LOG,
  2701.                  NEWS-OUT.LOG,   and  SETCLOCK.LOG.   File  size  may  be
  2702.                  controlled  with  the  "verbose"  parameter (see below);
  2703.                  files   are   not  created  unless  their  corresponding
  2704.                  process does some work.  
  2705.  
  2706.         Comment: This  parameter  is  optional;  if not specified, no log
  2707.                  files will be created.  
  2708.  
  2709.  
  2710.         3.11.12 Controlling Information Overload       
  2711.  
  2712.          Syntax: ksp-mail.verbose=<option> 
  2713.  
  2714.         Example: ksp-mail.verbose=log_files 
  2715.             and: ksp-mail.verbose=on_screen 
  2716.  
  2717.         Purpose: Controls  the  amount  of  information  written  on  the
  2718.                  screen  and  in the log files.  The default is that only
  2719.                  minimal  information  is  written;  more  detail  can be
  2720.                  enabled  by  use  of  one  or both of the examples shown
  2721.                  above.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2728.  
  2729.  
  2730.         Oct 02, 1996           KSP-Mail (tm) v3.3                      44
  2731.  
  2732.  
  2733.         3.11.13 Limiting Growth of Log Files     
  2734.  
  2735.          Syntax: ksp-mail.log_days_newsin=<days> 
  2736.              or: ksp-mail.log_days_mailin=<days> 
  2737.              or: ksp-mail.log_days_newsout=<days> 
  2738.              or: ksp-mail.log_days_mailout=<days> 
  2739.              or: ksp-mail.log_days_setclock=<days> 
  2740.              or: ksp-mail.log_days_extcmds=<days> 
  2741.  
  2742.         Example: ksp-mail.log_days_newsin=1 
  2743.  
  2744.         Purpose: KSP-Mail  makes  use of a program called KSP-TRIM.EXE to
  2745.                  limit  the growth of log files.  Just after each process
  2746.                  (Mail-In,  News-Out,  etc.) runs for the first time on a
  2747.                  new  day (i.e., just after midnight), KSP-Mail will load
  2748.                  and  execute  KSP-TRIM  to  remove  old entries from the
  2749.                  associated  log  file.   The  entries  removed are those
  2750.                  whose  date  is  older than the number of days specified
  2751.                  by this parameter.  
  2752.  
  2753.         Comment: These  parameters  are  optional; all defaults are seven
  2754.                  days.   For  performance  reasons, each log file now has
  2755.                  an   associated   index  file  (e.g.,  NEWS-OUT.LOG  and
  2756.                  NEWS-OUT.IDX)   that   records  the  position  of  dated
  2757.                  entries in the log.  
  2758.  
  2759.  
  2760.         3.11.14 Disabling Logging        
  2761.  
  2762.          Syntax: ksp-mail.logging=<option> 
  2763.  
  2764.         Example: ksp-mail.logging=disabled 
  2765.  
  2766.         Purpose: Disables writing to the log files; default is enabled.  
  2767.  
  2768.  
  2769.         3.11.15 Monitoring Program Condition       
  2770.  
  2771.          Syntax: ksp-mail.monitor=<option> 
  2772.  
  2773.         Example: ksp-mail.monitor=memory 
  2774.              or: ksp-mail.monitor=speed 
  2775.              or: ksp-mail.monitor=error 
  2776.  
  2777.         Purpose: These   configuration  parameters  are  used  to  enable
  2778.                  monitoring   of   three  program  statistics.   "memory"
  2779.                  displays  (at  the top of the screen) the minimum amount
  2780.                  of  program  heap  and  stack  space remaining.  "speed"
  2781.                  displays  the  number  of threads executed per second in
  2782.  
  2783.  
  2784.  
  2785.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2786.  
  2787.  
  2788.         Oct 02, 1996           KSP-Mail (tm) v3.3                      45
  2789.  
  2790.  
  2791.                  the  upper  right-hand  corner.   When  an error occurs,
  2792.                  "error"  causes  the  active window to change to that in
  2793.                  which an error occurred.  
  2794.  
  2795.         Comment: These  parameters  are  optional;  each  defaults to not
  2796.                  being monitored.  
  2797.  
  2798.  
  2799.         3.11.16 Controlling the Screen Saver      
  2800.  
  2801.          Syntax: ksp-mail.screen_saver_seconds=<seconds> 
  2802.  
  2803.         Example: ksp-mail.screen_saver_seconds=60 
  2804.  
  2805.         Purpose: Controls  the  number of seconds before the screen saver
  2806.                  is activated.  
  2807.  
  2808.         Comment: This  parameter  is optional; default is 60 seconds (one
  2809.                  minute).   The timer starts when all processes are idle;
  2810.                  the  screen  will  not  go blank as long as at least one
  2811.                  process   is  busy.   Setting  this  parameter  to  zero
  2812.                  disables the screen saver.  
  2813.  
  2814.  
  2815.         3.11.17 The "OK" file       
  2816.  
  2817.          Syntax: ksp-mail.ok_filespec=<filespec>[,<seconds>] 
  2818.  
  2819.         Example: ksp-mail.ok_filespec=c:\ksp\ksp-mail.ok,600 
  2820.  
  2821.         Purpose: Specifies  the name of a zero-byte file to be created on
  2822.                  a  periodic basis.  The period defaults to once every 60
  2823.                  seconds,  but  may  be  adjusted by appending the second
  2824.                  parameter.   Existence  of  this file with a recent date
  2825.                  stamp  (relative  to the period) implies that everything
  2826.                  is running ok.  
  2827.  
  2828.         Comment: This  parameter  is  optional; if not specified, no file
  2829.                  will  be  created.   Default  period  is 60 seconds (one
  2830.                  minute).   
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2844.  
  2845.  
  2846.         Oct 02, 1996           KSP-Mail (tm) v3.3                      46
  2847.  
  2848.  
  2849.                       CHAPTER 4 - THE USER INTERFACE      
  2850.  
  2851.  
  2852.         The  KSP-Mail  user interface consists of nine status screens and
  2853.         a  set  of keystrokes to move among them.  Up to four screens are
  2854.         associated  with  the  Mail-In  process(es),  and  one  each  for
  2855.         Mail-Out,  News-In,  News-Out,  and  Set-Clock.   Another  screen
  2856.         displays  a  brief  status summary of all processes.  All screens
  2857.         are  constantly  updated, whether or not they are currently being
  2858.         displayed.  
  2859.  
  2860.         The Summary Screen is displayed when KSP-Mail starts execution.  
  2861.  
  2862.         Each  press  of the spacebar moves you to the next display screen
  2863.         in  a  cyclic  fashion.   Pressing  the Escape Key terminates the
  2864.         program.  
  2865.  
  2866.  
  2867.         4.1 The "Hot-Keys"        
  2868.  
  2869.         A  set  of active "Hot-Keys" appear in the lower left-hand corner
  2870.         of  each  screen,  with  one  Hot-Key  for  each  active  display
  2871.         window.   If  one  or  more  of the processes (Mail-In, Mail-Out,
  2872.         News-In,  News-Out)  are  inactive,  their  Hot-Keys  will not be
  2873.         shown.   The  key  associated  with  the  current  screen will be
  2874.         highlighted.   Pressing  a  Hot-Key will move you directly to its
  2875.         corresponding display screen as follows: 
  2876.  
  2877.                 "M"     The Mail-Out Process
  2878.                 "1"     Mail-In Process #1
  2879.                 "2"     Mail-In Process #2
  2880.                 "3"     Mail-In Process #4
  2881.                 "4"     Mail-In Process #4
  2882.                 "N"     The News-Out Process
  2883.                 "I"     The News-In Process
  2884.                 "C"     The Set-Clock Process
  2885.                 "S"     The Summary Screen
  2886.  
  2887.  
  2888.         4.2 The Spinner        
  2889.  
  2890.         In  the  upper  right-hand  corner  of each screen is an rotating
  2891.         "spinner".   It progresses from one position to the next for each
  2892.         "N"  executions  of  the active threads (processes), where "N" is
  2893.         calculated  periodically  so  as  to make it spin at a relatively
  2894.         constant  75  revolutions per second.  The spinner is provided as
  2895.         a  visual  confirmation  that  KSP-Mail  is  operating properly -
  2896.         cycling  through the active processes looking for work to do, and
  2897.         to  confirm  that no one process is blocking concurrent execution
  2898.  
  2899.  
  2900.  
  2901.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2902.  
  2903.  
  2904.         Oct 02, 1996           KSP-Mail (tm) v3.3                      47
  2905.  
  2906.  
  2907.         of the other processes.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  2960.  
  2961.  
  2962.         Oct 02, 1996           KSP-Mail (tm) v3.3                      48
  2963.  
  2964.  
  2965.                    CHAPTER 5 - REMOTE SYSTEM MANAGEMENT      
  2966.  
  2967.  
  2968.         KSP-Mail  provides an extensive set of system management commands
  2969.         that  allow  you  to  remotely  view  or modify a large number of
  2970.         operating  parameters.  To enable this capability, you must first
  2971.         establish  a  system  management  password  using  the  following
  2972.         configuration parameter: 
  2973.  
  2974.          Syntax: ksp-mail.remote_management_password=<password> 
  2975.  
  2976.         Example: ksp-mail.remote_management_password=mothergoose 
  2977.  
  2978.         Purpose: Specifies   a   password  to  be  used  with  the  "HELO
  2979.                  <password>"   that   will   enable   the  remote  system
  2980.                  management commands.  
  2981.  
  2982.         Comment: This  parameter  is  optional;  if  not  specified,  the
  2983.                  remote system management commands will be disabled.  
  2984.  
  2985.         Remote  system  management  of your KSP-Mail machine is available
  2986.         from  anywhere in the world.  Simply telnet to port 25 (or 119 if
  2987.         the  NNTP  server  for  "pushed"  news  is  configured) at the IP
  2988.         address (or hostname) of the KSP-Mail machine, as in: 
  2989.  
  2990.                             telnet mailer.ksp.com 25
  2991.  
  2992.                  (If using KSP Telnet, use "mailer.ksp.com:25")
  2993.  
  2994.         This  will  connect  you  as  a client to one of KSP-Mail's ESMTP
  2995.         server  processes  (or  the NNTP server if using port 119).  Once
  2996.         connected, you must enter the command: 
  2997.  
  2998.                                  HELO <password>
  2999.  
  3000.         where  "<password>"  is  replaced by the password you established
  3001.         with  the  "ksp-mail.remote_management_password" parameter in the
  3002.         WATTCP.CFG  file.   The  system  management commands will only be
  3003.         available  if  the  HELO  command has been given with the correct
  3004.         password.   Since  the  HELO  command  is  usually  followed by a
  3005.         domain  name,  it  would  be a good idea if your password did not
  3006.         resemble one.  
  3007.  
  3008.         The  following  commands  and their command line arguments may be
  3009.         abbreviated by unambiguous substrings.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  3018.  
  3019.  
  3020.         Oct 02, 1996           KSP-Mail (tm) v3.3                      49
  3021.  
  3022.  
  3023.         5.1 The HELP Command       
  3024.  
  3025.          Syntax: HELP 
  3026.              or: HELP <command> 
  3027.  
  3028.         Example: HELP 
  3029.              or: HELP LIST 
  3030.  
  3031.         Purpose: To  display  help  on  one  or  more  system  management
  3032.                  commands.  
  3033.  
  3034.  
  3035.         5.2 The LIST Command       
  3036.  
  3037.          Syntax: LIST 
  3038.              or: LIST <list> 
  3039.              or: LIST ADD <list> <item> 
  3040.              or: LIST DEL <list> <item> 
  3041.  
  3042.         Example: LIST Mail-Out-Servers 
  3043.              or: LIST ADD News-Hours 12 
  3044.              or: LIST DEL News-In-Servers 129.215.88.7 
  3045.  
  3046.         Purpose: To  display the contents of a managed list, or to add an
  3047.                  item to a list, or to delete an item from a list.  
  3048.  
  3049.         Comment: The  names  of  lists  managed  by  this  command may be
  3050.                  viewed  by  entering  the  command  with no command line
  3051.                  arguments.   The value of "<item>" must be an IP address
  3052.                  or a single hour of the day (in 24-hour format).  
  3053.  
  3054.  
  3055.         5.3 The PROCESS Command       
  3056.  
  3057.          Syntax: PROCESS <process> 
  3058.              or: PROCESS PAUSE <process> 
  3059.              or: PROCESS RESUME <process> 
  3060.  
  3061.         Example: PROCESS News-Out 
  3062.              or: PROCESS PAUSE Set-Clock 
  3063.  
  3064.         Purpose: To  display the current status of one or more processes,
  3065.                  or to pause or resume a selected process.  
  3066.  
  3067.         Comment: The  names  of  processes managed by this command may be
  3068.                  viewed  by  entering  the  command  with no command line
  3069.                  arguments.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  3076.  
  3077.  
  3078.         Oct 02, 1996           KSP-Mail (tm) v3.3                      50
  3079.  
  3080.  
  3081.         5.4 The QUIT Command       
  3082.  
  3083.          Syntax: QUIT 
  3084.  
  3085.         Purpose: To close the current management session.  
  3086.  
  3087.  
  3088.         5.5 The STATS Command       
  3089.  
  3090.          Syntax: STATS 
  3091.              or: STATS RESET 
  3092.  
  3093.         Purpose: To  display  a  short summary of system status including
  3094.                  the  count  of  mail messages and news articles imported
  3095.                  and  exported,  how  long KSP-Mail has been running, and
  3096.                  information  about  utilization  of  system file handles
  3097.                  and memory.  
  3098.  
  3099.         Comment: The  optional  command  line  parameter "RESET" sets the
  3100.                  message and article counts to zero.  
  3101.  
  3102.  
  3103.         5.6 The VALUE Command       
  3104.  
  3105.          Syntax: VALUE 
  3106.              or: VALUE <parameter> 
  3107.              or: VALUE <parameter> <value> 
  3108.  
  3109.         Purpose: To  display  or  modify  the  setting  of  one  or  more
  3110.                  operating parameters.  
  3111.  
  3112.         Comment: The  names  of parameters managed by this command may be
  3113.                  viewed  by  entering  the  command  with no command line
  3114.                  arguments.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  3134.  
  3135.  
  3136.         Oct 02, 1996           KSP-Mail (tm) v3.3                      51
  3137.  
  3138.  
  3139.                    CHAPTER 6 - INSTALLING YOUR ACCESS KEY     
  3140.  
  3141.  
  3142.         The  unlicensed  version  of  KSP-Mail  limits  each  inbound and
  3143.         outbound  mail  or  news  message to a maximum of five lines.  To
  3144.         remove  this  limit,  you must purchase an access key and install
  3145.         it as described below.  
  3146.  
  3147.         There   are   two  parameters  that  must  be  specified  in  two
  3148.         environment  variables called "KSP-ID" and "KSP-MAIL" in order to
  3149.         install your access key.  
  3150.  
  3151.         The  environment  variable  "KSP-ID"  is used to specify your BBS
  3152.         name, as in: 
  3153.  
  3154.                       set KSP-ID=Key Software Products BBS
  3155.  
  3156.         The name of your BBS is always displayed KSP-Mail is running.  
  3157.  
  3158.         The  environment  variable  "KSP-MAIL"  is  used  to specify your
  3159.         access key as in: 
  3160.  
  3161.                               set KSP-MAIL=12345678
  3162.  
  3163.         The  access  key  is  derived  from  the  name of your BBS and of
  3164.         course  must  match.   If not, then the message "EVALUATION COPY:
  3165.         Messages   limited   to  5  lines"  will  appear  in  the  bottom
  3166.         right-hand corner of the screen.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189.  
  3190.  
  3191.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  3192.  
  3193.  
  3194.         Oct 02, 1996           KSP-Mail (tm) v3.3                      52
  3195.  
  3196.  
  3197.               APPENDIX 1 - TEMPORARY FILES CREATED BY KSP-MAIL    
  3198.  
  3199.  
  3200.         The  following  temporary  files are created during the execution
  3201.         of KSP-Mail.  
  3202.  
  3203.         Filename        Used By         Description
  3204.  
  3205.         ARTICLES.$$$    News-In         List of article IDs for the
  3206.                         (Pulled)        current newsgroup.
  3207.  
  3208.         MAILLIST.$$$    Mail-Out        List of filenames containing
  3209.                                         messages to be exported.
  3210.  
  3211.         NEWSLIST.$$$    News-Out        List of filenames containing
  3212.                                         articles to be posted.
  3213.  
  3214.         POSTED.IDX      News-In         List of articles used to
  3215.                         (Pulled)        prevent duplicate postings.
  3216.  
  3217.         POSTED.$$$      KSP-PACK        Used to remove unnecessary
  3218.                                         entries in POSTED.IDX file.
  3219.  
  3220.         RCPT-TO1.$$$    Mail-In         Keeps track of (multiple) 
  3221.         RCPT-TO2.$$$                    recipients for an inbound
  3222.         RCPT-TO3.$$$                    email message.
  3223.         RCPT-TO4.$$$
  3224.  
  3225.         SORTED.$$$      News-In         Used to sort list of newsgroups,
  3226.                                         and list of articles to import.
  3227.  
  3228.         SMTPVRFY.ERR    KSP-VRFY        Contains error message used
  3229.                         PCB-VRFY        in logs by KSP-Mail.
  3230.  
  3231.         MAIL-IN1.$$$    KSP-TRIM        Temporary filenames used while
  3232.         MAIL-OUT.$$$                    creating trimmed log files.
  3233.         NEWS-IN.$$$
  3234.         NEWS-OUT.$$$
  3235.         SETCLOCK.$$$
  3236.  
  3237.         USERNAME.$$$    KSP-VRFY        Temporary filenames used while
  3238.                                         creating username database.
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  3250.  
  3251.  
  3252.         Oct 02, 1996           KSP-Mail (tm) v3.3                      53
  3253.  
  3254.  
  3255.                         APPENDIX 2 - HOW TO REACH US     
  3256.  
  3257.  
  3258.         The  Key Software Products BBS/FAX number (415-364-9847) operates
  3259.         24   hours   a   day,  7  days  a  week.   Software  at  our  end
  3260.         automatically  determines whether an incoming call is data or FAX
  3261.         and will operate accordingly.  
  3262.  
  3263.         If  you have access to electronic mail, you can send us a message
  3264.         via any of the following: 
  3265.  
  3266.         On COMPUSERVE, send mail to:
  3267.  
  3268.                 >Internet:tech.support@ksp.com
  3269.  
  3270.         On Internet, UUCP, or Bitnet, send mail to:
  3271.  
  3272.                 tech.support@ksp.com
  3273.  
  3274.         On Fidonet, address mail to "UUCP" at nearest fidonet site which
  3275.         provides a gateway to Internet, such as 1:105/42.
  3276.  
  3277.                 1st line of message: To: tech.support@ksp.com
  3278.  
  3279.  
  3280.  
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  3308.  
  3309.  
  3310.         Oct 02, 1996           KSP-Mail (tm) v3.3                      54
  3311.  
  3312.  
  3313.                 APPENDIX 3 - GETTING UPDATES VIA THE INTERNET    
  3314.  
  3315.  
  3316.         The  main  distribution  file  is KSPMTS??.ZIP, where "??" is the
  3317.         version  number.  You can retrieve this file via anonymous ftp at
  3318.         "scizzl.scu.edu",  directory "ksp".  Please note that there is no
  3319.         "e" at the end of "scizzl".  
  3320.  
  3321.         This file is also available from the KSP BBS.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  3366.  
  3367.  
  3368.         Oct 02, 1996           KSP-Mail (tm) v3.3                      55
  3369.  
  3370.  
  3371.                          APPENDIX 4 - LEGAL STUFF       
  3372.  
  3373.  
  3374.                                 LIMITED WARRANTY
  3375.  
  3376.         This  software  is provided 'as is' without warranty of any kind,
  3377.         either  expressed  or  implied, including, but not limited to the
  3378.         implied   warranties   of   merchantability  and  fitness  for  a
  3379.         particular  purpose.   The  entire  risk  as  to  the quality and
  3380.         performance of the program is with you.  
  3381.  
  3382.         Some  states do not allow the exclusion of implied warranties, so
  3383.         the  above  exclusions may not apply to you.  This warranty gives
  3384.         you  specific  legal  rights  and  you may also have other rights
  3385.         which vary from state to state.  
  3386.  
  3387.         Key  Software  Products  has  taken  due  care  in  preparing the
  3388.         documentation  and  software  included  in   to  ascertain  their
  3389.         correctness  and  effectiveness.   However, Key Software Products
  3390.         does  not  warrant  that  operation  of  this  software  will  be
  3391.         uninterrupted  or  error  free.   In  no event shall Key Software
  3392.         Products  be  liable  for  incidental or consequential damages in
  3393.         connection  with  or  arising out of the furnishing, performance,
  3394.         or use of this software.  
  3395.  
  3396.  
  3397.                                      LICENSE
  3398.  
  3399.         You  MAY  use  this software on any computer or computers in your
  3400.         possession.   The licensed version is registered for use on up to
  3401.         a  fixed  number of BBS nodes running on multiple machines and/or
  3402.         multiple multi-tasking processes.  
  3403.  
  3404.         You  MAY  copy this software into any machine readable or printed
  3405.         form  for  backup or modification purposes in support of your use
  3406.         of the software.  
  3407.  
  3408.         You  MAY  distribute  the original unmodified, unlicensed version
  3409.         of  this  software,  but you may not charge a fee exceeding $5.00
  3410.         to  cover  the  cost of duplicating, shipping, and handling.  You
  3411.         may NOT distribute a licensed version of this software.  
  3412.  
  3413.         You  may  NOT  use,  copy, modify, sublicense, assign or transfer
  3414.         this  software  and  its license, or any copy or modification, in
  3415.         whole  or  in  part,  except  as  expressly  provided for in this
  3416.         license.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423.         Copyright (C) 1995-96, Key Software Products. All Rights Reserved
  3424.  
  3425.